brave/brave-ui

Select component does not update selected value when options have changed

zenparsing opened this issue · 0 comments

The select component does not update the selected value in the following situation:

  • The component is updated with a current value and option list, but the current value cannot be found in the options.
    • Rendering result: the displayed value will be empty.
  • The component is rendered with the same current value with a different option list, and the current value is found in the options.
    • Rendering result: the displayed value will still be empty.
    • Expected result: the displayed value should be the current value.