From 7ee626bda268751eb0a53ff0a6afa980bff2e2b6 Mon Sep 17 00:00:00 2001 From: Spencer Torres Date: Tue, 5 Dec 2023 15:40:58 -0500 Subject: [PATCH] allow limit input to be set to 0 --- src/components/queryBuilder/LimitEditor.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/queryBuilder/LimitEditor.tsx b/src/components/queryBuilder/LimitEditor.tsx index fbe059e7..7d4da2c1 100644 --- a/src/components/queryBuilder/LimitEditor.tsx +++ b/src/components/queryBuilder/LimitEditor.tsx @@ -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)} />