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(wpc-154): add numeric input buttons type #3595

Merged
merged 1 commit into from
Dec 5, 2023

Conversation

tortiz-coveo
Copy link
Contributor

@tortiz-coveo tortiz-coveo commented Dec 5, 2023

Proposed Changes

Adds the button types to the plus and minus numeric input buttons. This avoids premature default validations on the form when clicking on those buttons. Currently the default type of the button is submit and triggers validations on every button press. This behavior manifests itself by showing a Please fill out this field alert on every button press on forms where empty inputs are present in the form. Here's a stack overflow post describing the issue

image

@tortiz-coveo tortiz-coveo requested review from a team, GermainBergeron and gdostie and removed request for a team December 5, 2023 15:42
Copy link

github-actions bot commented Dec 5, 2023

@GermainBergeron GermainBergeron merged commit c89e360 into master Dec 5, 2023
@GermainBergeron GermainBergeron deleted the fix/wpc-154/add-numeric-input-buttons-type branch December 5, 2023 19:40
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.

3 participants