I have an array of strings that I want to use to populate an input select dropdown element in Pluto.
Without any detailed documentation I’ve been really struggling. So far, I have found only one way to create the dropdown:
md""" $(@bind sites html"<select> <option value='None'>Select a Site</option> <option value='S1'>Site 1</option> <option value='S2'>Site 2</option> </select>") """
However, I don’t want to populate it manually like this. I want to use a preexisting array to fill the option values and the text in the dropdown. How can I do this?