Skip to content

Commit

Permalink
dns config ip validation
Browse files Browse the repository at this point in the history
  • Loading branch information
IldarKamalov committed Feb 14, 2025
1 parent 4fee83f commit 4dfa536
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions client/src/components/Settings/Dns/Config/Form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -337,15 +337,11 @@ const Form = ({ processing, initialValues, onSubmit }: Props) => {
<Input
{...field}
data-testid="dns_config_blocked_response_ttl"
type="number"
type="text"
label={label}
desc={description}
error={fieldState.error?.message}
disabled={processing}
onChange={(e) => {
const { value } = e.target;
field.onChange(toNumber(value));
}}
/>
)}
/>
Expand Down

0 comments on commit 4dfa536

Please sign in to comment.