diff --git a/src/renderer/components/query-builder/query-builder-option.tsx b/src/renderer/components/query-builder/query-builder-option.tsx index e9745c67..b72daf54 100644 --- a/src/renderer/components/query-builder/query-builder-option.tsx +++ b/src/renderer/components/query-builder/query-builder-option.tsx @@ -48,6 +48,7 @@ const QueryValueInput = ({ onChange, type, ...props }: any) => { size="sm" onChange={onChange} {...props} + defaultValue={props.defaultValue && Number(props.defaultValue)} /> ); case 'date': @@ -64,7 +65,7 @@ const QueryValueInput = ({ onChange, type, ...props }: any) => { <> { @@ -75,7 +76,7 @@ const QueryValueInput = ({ onChange, type, ...props }: any) => { /> {