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 #2465: InputNumber default to min on allowEmpty=false #2472

Merged
merged 1 commit into from Dec 10, 2021

Conversation

melloware
Copy link
Member

###Defect Fixes
Fix #2465: InputNumber default to min on allowEmpty=false

Currently its always defaulting to 0 if allowEmpty=false and it should respect the minimum like min={2} and reset it to 2. If however min < 0 like min={-100} we should leave it at 0 and not make the default value -100

Copy link

@IHPNULL IHPNULL left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, this will make it work fine

@mertsincan mertsincan merged commit e4c8d58 into primefaces:master Dec 10, 2021
@melloware melloware deleted the PR2465 branch December 10, 2021 12:35
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.

InputNumber Critical Issue
3 participants