Hi Guys,
This is more of a Javascript question but just in case would have an idea.
basically I'm calling the below JavaScript function from a classMethod to add Options to an html <Select> tag (Dropdown) and after adding all options I would like to set a specific value or index to be selected, its working and actually the required option is selected but not showing as selected in the dropdown box.
For testing purposes I've set option 4 to be selected by default as example and it's not showing as selected in required dropdown (green)