I have a select
element that looks like this:
The arrow in there is a custom element. I'd like to make it so that the error is "invisible" to the mouse, and clicking it will actually select the element behind it. I tried using onClick
on the arrow to focus()
the select
, but that doesn't actually initiate the dropdown menu:
Is there some kind of CSS magic trick that'll let me do this?