Skip to content

Commit

Permalink
fix(web): number field validation (#907)
Browse files Browse the repository at this point in the history
fix: number validation
  • Loading branch information
nourbalaha authored Oct 27, 2023
1 parent 40359f5 commit cbb5938
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ const FieldValidationInputs: React.FC<Props> = ({ selectedType }) => {
) : selectedType === "Integer" ? (
<>
<Form.Item name="min" label={t("Set minimum value")}>
<InputNumber type="number" min={0} />
<InputNumber type="number" />
</Form.Item>
<Form.Item name="max" label={t("Set maximum value")}>
<InputNumber type="number" min={0} />
<InputNumber type="number" />
</Form.Item>
</>
) : null
Expand Down

0 comments on commit cbb5938

Please sign in to comment.