mirror of
https://github.com/rowyio/rowy.git
synced 2025-12-29 00:16:39 +01:00
Merge pull request #1486 from zeeshan1212/fix-1485
fix: number input field throws an error due to missing `onSubmit` function
This commit is contained in:
@@ -165,6 +165,7 @@ export default function FilterInputs({
|
||||
column: selectedColumn,
|
||||
_rowy_ref: {},
|
||||
value: query.value,
|
||||
onSubmit: () => {},
|
||||
onChange: (value: any) => {
|
||||
const newQuery = {
|
||||
...query,
|
||||
|
||||
@@ -6,8 +6,8 @@ import { getFieldId } from "@src/components/SideDrawer/utils";
|
||||
export default function Number_({
|
||||
column,
|
||||
value,
|
||||
onChange,
|
||||
onSubmit,
|
||||
onChange = () => {},
|
||||
onSubmit = () => {},
|
||||
disabled,
|
||||
}: ISideDrawerFieldProps<number | string>) {
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user