Skip to content

Commit

Permalink
Allow LimitEditor to go to 0 to exclude LIMIT (#619)
Browse files Browse the repository at this point in the history
  • Loading branch information
SpencerTorres authored Dec 6, 2023
1 parent b966566 commit 65c4d6b
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 65c4d6b

Please sign in to comment.