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
I want two radio buttons to from, and I'd like the text in the box to be different than the value being sent. I'd also like the box to be preselected if it was presubmitted (by using the value key).
Issue
No matter which button I select before submitting, the value sent is true in this example:
I templated the above schema (with the value key) from this part of the projects wiki which gives a similar example, but with strings instead of boolean values.
If I don't include "value": true, both submitted values false. This is also the case if I use "submit": true instead.
What I want to happen
I want two radio buttons to from, and I'd like the text in the box to be different than the value being sent. I'd also like the box to be preselected if it was presubmitted (by using the value key).
Issue
No matter which button I select before submitting, the value sent is
true
in this example:The value sent should be
false
when selecting"I'm not cool"
and hitting submitWhat I'd expect
This exact example works as I'd expect using strings instead of booleans:
The text was updated successfully, but these errors were encountered: