You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
Currently the
checkboxInput
type will set a value in thequestionAnswers
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: thequestionAnswers
for an input namedthing[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,
The text was updated successfully, but these errors were encountered: