Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(BB-806): add validation for float values in width, height, depth fields #1137

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Monika-Dangar
Copy link

Problem

[BB-806]
Can't submit entries with float values for dimensions

Solution

Updated input parsing from parseInt() to parseFloat() to accept float values so validation can notify users of invalid inputs.

Areas of Impact

  • edition-section.tsx: Modified input parsing and validation for dimensions.
  • edition-section-merge.tsx: Applied the same changes for consistency.

…pth fields

Previously, the form rejected decimal values for dimensions without any visual feedback.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant