Skip to content

Commit

Permalink
fix: min/max attributes missing from number input (#5779)
Browse files Browse the repository at this point in the history
  • Loading branch information
rafalnawojczyk committed Apr 21, 2024
1 parent bd8b512 commit 985796b
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -166,6 +166,8 @@ const NumberField: React.FC<Props> = (props) => {
<input
disabled={readOnly}
id={`field-${path.replace(/\./g, '__')}`}
max={max}
min={min}
name={path}
onChange={handleChange}
onWheel={(e) => {
Expand Down

0 comments on commit 985796b

Please sign in to comment.