Can tab to it in the rendered form and clearly can make a selection using the keyboard, focus is supported in HTML forms, just can’t focus on a dropdown from code.
for now you could try:
Update
I’ve updated this dependency - The new dependency and example can be found here:
(i’ve left the original post in place in case someone stumbles across this and prefers the first version)
https://anvil.works/build#clone:36T6RN2OO6KLBGV7=4LZ35S57ODPL7ORIUJ2AH6KY
Changes:
you can now use standard anvil event handler function syntax (namely **event_args)
keydown, keyup etc supported
hover takes 1 function - distinguish between mouseenter and mouseleave from the event_args
works with Bl…
I’ve not tried it on dropdowns so if it doesn’t work straight away let me know and I can update the dependency so that it does.
3 Likes