In the HelloWorld example, the input (text fields) callbacks are annotated by using @Input
and a public method taking an InputEvent
as an argument.
For dropdowns, this should instead be a @Select
annotation linked to the HTML Select ID, and the public method should take a SelectEvent
object as an argument.
You might take a look at the Script Wrapper Sample which implements a dropdown.