✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
🧬 Learn how to build RNA-Seq data apps with Python & Dash. Register for the May 20 Webinar!

Get the index of the current value of a dropdown

From the dropdown, I can get the current value and all the options as a list of dictionary. However I also want another way to change the current value of the dropdown: by index. Basically I would like to have a “next” button, so the dropdown would move to the next option of the options list of the dropdown. Can I easily get this “index” from the dropdown component? Thank you for the help!