From 575bd7871dcb59875b00e1222351cee53a827f34 Mon Sep 17 00:00:00 2001 From: gucal Date: Tue, 9 Apr 2024 14:26:57 +0300 Subject: [PATCH] Lint fixes --- components/lib/inputnumber/InputNumber.js | 1 + components/lib/multiselect/MultiSelect.js | 1 + 2 files changed, 2 insertions(+) diff --git a/components/lib/inputnumber/InputNumber.js b/components/lib/inputnumber/InputNumber.js index 98514e155c..33a7abb9b7 100644 --- a/components/lib/inputnumber/InputNumber.js +++ b/components/lib/inputnumber/InputNumber.js @@ -467,6 +467,7 @@ export const InputNumber = React.memo( newValueStr = deleteRange(inputValue, selectionStart, selectionEnd); updateValue(event, newValueStr, null, 'delete-range'); } + break; // del diff --git a/components/lib/multiselect/MultiSelect.js b/components/lib/multiselect/MultiSelect.js index 5a544535ab..ac1a0b3199 100644 --- a/components/lib/multiselect/MultiSelect.js +++ b/components/lib/multiselect/MultiSelect.js @@ -471,6 +471,7 @@ export const MultiSelect = React.memo( } let focusedItem; + if (event) { focusedItem = event.currentTarget; } else {