evidence
evidence copied to clipboard
ButtonGroup default value not selected
Steps To Reproduce
Create a ButtonGroup and add a ButtonGroupItem to serve as the default selected option.
Expected Behavior
- Default option should appear shaded as the selected option
- Default option should be populated as the value of
${inputs.input_name}
Actual Behaviour
- ButtonGroupItem appears but is not selected
${inputs.input_name}starting value isnull
Workarounds
None
Other
It would be helpful to have a defaultValue prop to set a default without needing to create a new ButtonGroupItem