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 checkboxInput to accept values for checked and unchecked #112

Open
Pharserror opened this issue Aug 3, 2018 · 1 comment
Open

Comments

@Pharserror
Copy link

Currently the checkboxInput type will set a value in the questionAnswers if the checkbox is checked. The goal of this issue would be to not set just one value but accept "checked" and "unchecked" values to set when the checkbox is checked or unchecked. For example, a checkbox for a boolean: the questionAnswers for an input named thing[foo] would be { thing: { foo: "true" } } for a checked checkbox and { thing: { foo: "false" } } for an unchecked checkbox.

More than happy to submit a PR. Give me the goahead 👍

Cheers,

  • Pharse
@Pharserror
Copy link
Author

Update: I need this for my own project now; so, I am working on this.

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

1 participant
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy