fix(ui) - filters input value (#604)
* fix(ui) - search filters input field * fix(ui) - search filters input field
This commit is contained in:
parent
dda55cc315
commit
2c66121562
1 changed files with 2 additions and 2 deletions
|
|
@ -35,12 +35,12 @@ function FilterAutoCompleteLocal(props: Props) {
|
|||
if(allowDecimals) {
|
||||
const value = e.target.value;
|
||||
setQuery(value);
|
||||
props.onSelect(null, { value });
|
||||
props.onSelect(null, value);
|
||||
} else {
|
||||
const value = e.target.value.replace(/[^\d]/, "");
|
||||
if (+value !== 0) {
|
||||
setQuery(value);
|
||||
props.onSelect(null, { value });
|
||||
props.onSelect(null, value);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue