Skip to content

Using Selects #3044

Dec 16, 2022 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Nevermind, i circumvented the problem by just using
web_sys::window()?.document()?.get_element_by_id(id)?.unchecked_into::<web_sys::HtmlInputElement>().value()
to get the <select> value when the form is submitted

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@dheadrick1618
Comment options

Answer selected by giacomogallina
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants