Describe the problem
When using FormSelect with a prop aria-labelledby that points to another label it will complain that the component requires either an ID or aria-label to be specified. Specifically:
FormSelect requires either an id or aria-label to be specified
How do you reproduce the problem?
- Go to https://codesandbox.io/p/sandbox/zk38dy
- Open console
- See
FormSelect requires either an id or aria-label to be specified
Expected behavior
FormSelect also checks aria-labelledby before showing the warning.
Is this issue blocking you?
No