Skip to content

Commit

Permalink
allow limit input to be set to 0
Browse files Browse the repository at this point in the history
  • Loading branch information
SpencerTorres committed Dec 5, 2023
1 parent e1b46d3 commit 7ee626b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/queryBuilder/LimitEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export const LimitEditor = (props: LimitEditorProps) => {
width={10}
value={limit}
type="number"
min={1}
min={0}
onChange={e => setLimit(e.currentTarget.valueAsNumber)}
onBlur={() => props.onLimitChange(limit)}
/>
Expand Down

0 comments on commit 7ee626b

Please sign in to comment.