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

Allow 'value' => 'true' or true or 1 (string, boolean, integer) #550

Open
cliffordp opened this issue Nov 16, 2015 · 1 comment
Open

Allow 'value' => 'true' or true or 1 (string, boolean, integer) #550

cliffordp opened this issue Nov 16, 2015 · 1 comment

Comments

@cliffordp
Copy link

For a 'type' => 'checkbox' (and possibly other field types) I tested and 'value' => 'true' works (as a string), but (bool)true and (int/bool)1 do not check the box by default.

It'd be nice if any of these 3 (and their false counterparts) would get the job done too.

If not a good idea, please enlighten me.

tyvm

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

No branches or pull requests

2 participants