evidence icon indicating copy to clipboard operation
evidence copied to clipboard

ButtonGroup default value not selected

Open hughess opened this issue 1 year ago • 0 comments

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 is null

Workarounds

None

Other

It would be helpful to have a defaultValue prop to set a default without needing to create a new ButtonGroupItem

hughess avatar Mar 14 '24 12:03 hughess