TheCoder4eu / BootsFaces-OSP

BootsFaces - Open Source Project
Apache License 2.0
246 stars 102 forks source link

selectBooleanCheckbox is loosing its value #111

Closed bilak closed 9 years ago

bilak commented 9 years ago

If I have selectBooleanCheckbox with true value on form (disabled at first), and then update the form, checkbox is loosing it's value. With standard jsf selectBooleanCheckbox all works OK.

I've already sent test application to @stephanrauh (just creating issue on github to know about it)

stephanrauh commented 9 years ago

Finally managed to reproduce the bug.

stephanrauh commented 9 years ago

As Lukas correctly reported, it's a bug that occurs when a checkbox is disabled. In this case, the browser doesn't send the value. Unfortunately, BootsFaces didn't check the disabled state before updating the value. I'm going to fix this in the next version (0.7.0++).

stephanrauh commented 9 years ago

Done.