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
Additional context
The built-in InputRadio uses a surrounding InputRadioGroup and then allows picking from a list of values. While I like the idea of having "standalone" radio buttons as well (like RadioInput), having a selection of some kind is currently also hard to do.
Similar problems go for CheckboxInput where the value is not a bool.
As a workaround, you can add checked=@myProperty to the RadioInput to at least get the rendering right. It still doesn't trigger the setter of other radio inputs in the group, though. So cleanup of other items in the group on the model side has to be done manually.
The text was updated successfully, but these errors were encountered:
Describe the bug
<RadioInput>
does not work because it usesvalue
attribute instead ofchecked
.To Reproduce
Steps to reproduce the behavior:
RadioInput
that is bound to abool
property (that is set totrue
)Expected behavior
The radio input's checked state can be bound to a bool value
Versions (please complete the following information):
Sample code
Additional context
The built-in
InputRadio
uses a surroundingInputRadioGroup
and then allows picking from a list of values. While I like the idea of having "standalone" radio buttons as well (likeRadioInput
), having a selection of some kind is currently also hard to do.Similar problems go for
CheckboxInput
where the value is not abool
.As a workaround, you can add
checked=@myProperty
to theRadioInput
to at least get the rendering right. It still doesn't trigger the setter of other radio inputs in the group, though. So cleanup of other items in the group on the model side has to be done manually.The text was updated successfully, but these errors were encountered: