-
Notifications
You must be signed in to change notification settings - Fork 55
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
Editable doesn't set display value to false if type is INPUT_CHECKBOX #92
Comments
You need to parse the POST and model values correctly and convert any boolean or string to int. |
Hi @kartik-v !, Its not really solved when the checkbox is unchecked, if you don't return the modified valuem then the label is not updated because in the source code is wrong => There are 6 As a temporary workarorund i'm doing By the way, I've added a css class as well in the configuration: Thanks! |
Thanks for the update. Could you submit a PR for this? |
I'm using the following column in GridView::widget:
It works perfectly, however if in the edit form the checkbox status is changed from checked to unchecked, the controller is called, the value of
is_calculated
in the database is set to false (0), the JSON call returns HTML OK, but the value in the grid is not updated.If the checkbox status is changed from unchecked to checked, it works perfectly.
The text was updated successfully, but these errors were encountered: