We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
A slider that slides between decimal numbers should also allow manual input in the linked inputfield.
Currently, the linked input field does not allow typing , or . , but only accepts 0-9
Go to https://www.primefaces.org/showcase/ui/input/slider.xhtml Second example: Slider with decimal values Try to enter 4.5 in the input field. The . is ignored when typing.
https://www.primefaces.org/showcase/ui/input/slider.xhtml
The text was updated successfully, but these errors were encountered:
If you copy+paste a decimal value like -234.5 it even accepts invalid values outside the range.
See #3282 what should be done on server side should probably also be done on js side so that the user cannot enter values outside the range
Enhancement? This should be a 'Defect'
Sorry, something went wrong.
A PR is welcome here ;)
There is still a bug when using ajax with decimal values, this bug occurs in line 53 of file SliderTemplate.java
#3400
579f65c
07333a8
basically it works now BUT its not perfect and a range check e.g. should be implemented.
No branches or pull requests
1) Environment
2) Expected behavior
A slider that slides between decimal numbers should also allow manual input in the linked inputfield.
3) Actual behavior
Currently, the linked input field does not allow typing , or . , but only accepts 0-9
4) Steps to reproduce
Go to https://www.primefaces.org/showcase/ui/input/slider.xhtml
Second example: Slider with decimal values
Try to enter 4.5 in the input field. The . is ignored when typing.
5) Sample XHTML
https://www.primefaces.org/showcase/ui/input/slider.xhtml
6) Sample bean
https://www.primefaces.org/showcase/ui/input/slider.xhtml
The text was updated successfully, but these errors were encountered: