Skip to content

Commit

Permalink
Merge pull request #3422 from LiteFarmOrg/LF-4409-sex-input-non-integer
Browse files Browse the repository at this point in the history
LF-4409 disallow decimals in animals sex number input
  • Loading branch information
kathyavini authored Oct 2, 2024
2 parents 34bd752 + 3f1e28a commit aea0b88
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ export default function SexDetailsCountInput({
max,
clampOnBlur: false,
useGrouping: false,
allowDecimal: false,
onChange: (num) => onCountChange?.(isNaN(num) ? 0 : num),
});

Expand Down

0 comments on commit aea0b88

Please sign in to comment.