Skip to content

Commit

Permalink
fix: Default Bytes should only allow numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
harshsbhat committed Oct 13, 2024
1 parent 2028fe3 commit 5bdd113
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export const DefaultBytes: React.FC<Props> = ({ keyAuth }) => {
render={({ field }) => (
<Input
className="max-w-sm"
{...field}
type="number"
autoComplete="off"
onChange={(e) => field.onChange(Number(e.target.value))}
/>
Expand Down

0 comments on commit 5bdd113

Please sign in to comment.