How to retrieve selected value from <select> element?
event.target does not provide any data . Therefore , I should be able on change event to (query )select the element and get the current selected value . Cannot find an easy native solution in Toddle , while I do think this is a common usecase . Have set the array index as value attribute via repeater function . I was unable to set an ID for the <select > element . ✅1You can use the input or change events for the select element Set the value to pass along on the <option > element It 's fine to repeat the option element over an array The select element passes the option 's value when a choice is made The input /change event is set on the <select > element but the value passed is set on the <option > Use the value attribute on the option element