Scala code example for selecting dropdown option


I am currently scala coding for a FE website and I need to produce some Scala code for selecting one of the options from a Security question dropdown.

The dropdown has around 6 questions, eg What was your first pet, first school etc…

Has anyone done any coding around dropdowns?.


It’s really not a Scala question per se – this is all about the framework. It’s exactly the same problem it would be for doing it in JavaScript, just with different syntax.