CustomSelectControl: Provide fallback describedBy
when there's no selected item
#34348
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Mamaduka commentedAug 27, 2021
•
edited
Description
Currently if
CustomSelectControl
value isundefined
component will trigger an error. The component tries to generate thedescribedBy
value using the selected option's name. We should provide fallback value when there's no selection.A similar change should be made for the
FontAppearanceControl
component as well.Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
The text was updated successfully, but these errors were encountered: