Skip to content

Commit

Permalink
locked input to a min of "0"
Browse files Browse the repository at this point in the history
  • Loading branch information
Neilblaze committed Mar 18, 2023
1 parent 4a2b50f commit 50a524c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/components/Upstream/components/Retries.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const Component: React.FC<Props> = ({ readonly }) => {
tooltip={formatMessage({ id: 'component.upstream.fields.retries.tooltip' })}
name="retries"
>
<InputNumber disabled={readonly} />
<InputNumber disabled={readonly} min={0} />
</Form.Item>
);
};
Expand Down

0 comments on commit 50a524c

Please sign in to comment.