Replies: 2 comments
-
I'm not really sure! I'd think that the You may be right that the
(FWIW If you test a version with no etc. |
Beta Was this translation helpful? Give feedback.
-
It does work if the Transition is moved inside the select tags, but then the empty selection dropdown is still displayed even when there are no items to display inside it. I could add a dummy item though, or hide it with css as well. Thank you for looking into this! And thanks for the tip about moving |
Beta Was this translation helpful? Give feedback.
-
Hi, I'd like to get the value of the currently selected option in a select tag dropdown, but it doesn't seem to work when I set the select tag's name="series_name" and then try to get the series_name from a server function hooked up as the action for the ActionForm.
E.g.
How can I set the currently selected option tag within a select tag to 'selected'?
And then, how can I pass that value to a server function alongside other values from input tags in an ActionForm? (I don't see anything in the docs or anywhere else about using a select tag in an ActionForm)
Simplified example:
(I'm using a Transition which might be part of the problem idk)
(I had the Transition as its own component before, but I thought that might part of be the reason it wasn't working somehow)
My actual component:
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions