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

InputNumber doesnt submit the value #59

Closed
maxtorzito opened this issue Feb 5, 2013 · 2 comments
Closed

InputNumber doesnt submit the value #59

maxtorzito opened this issue Feb 5, 2013 · 2 comments
Assignees
Milestone

Comments

@maxtorzito
Copy link

You can check all the info in primefaces extensions forum:

http://forum.primefaces.org/viewtopic.php?f=14&t=28324&p=89692#p89692

If you set any number let say number 5, then if you press enter inside of the inputnumber component your value (5) is lost and the default value (0) of the int is put it inside of the input.

Definitely this is a bug, im doing extensive tests with this component and i can see when the error is happend, the problem is not because is in the datatable, the problem is that if you press enter inside of the inputnumber and if you have a button (without default commanbutton, but of course your button has the type of submit by default) and press the Intro Key, the listener of the button is processed as a normal behavior but the value is never processed (even do if i use process, partial submit etc...). But if you lost the focus before press intro key (in any other component (like an input) and then press the same button or just press the intro key inside of the other input the value IS submitted, i guess because they do some logic only after the component losts its foucs, but in my case that inputnumber is the last input and there the user usually press the intro key here.

I use Primefaces 3.5.RC1 and PF. Extensions 0.6.3

@ghost ghost assigned fenoloco Feb 5, 2013
@fenoloco
Copy link

Fixed, The format event is fired on keyUp now.

@maxtorzito
Copy link
Author

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants