Skip to content

Commit e77ae8b

Browse files
authored
Merge pull request #10 from solaoi/fix_limit-min-on-number-input
fix limit min on numberinput
2 parents 70f0ed1 + d09e11b commit e77ae8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/core/components/LabeledTextField.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export const LabeledTextField = forwardRef<HTMLInputElement, LabeledTextFieldPro
3737
<FormLabel>
3838
{label}
3939
{props.type === "number" ? (
40-
<NumberInput {...input} disabled={submitting} {...props} ref={ref}>
40+
<NumberInput {...input} disabled={submitting} {...props} ref={ref} min={0}>
4141
<NumberInputField />
4242
<NumberInputStepper>
4343
<NumberIncrementStepper />

0 commit comments

Comments
 (0)