The page generates a table and when a user clicks on the row's edit button, an edit popup displays. In the popup and tetxboxes, textareas, etc. work fine. The dropdown fills with values.
If have stripped the code of lots of things saw you can see the code that really matters.
I am unable to set the initial dropdown value in the popup. The dropdown loads but the first row is blank and that is is pointed to upon display of the popup.
I have tried every conceivable way that I found on the internet to do it including hardcoding the value. But noooo, nothing works. There are many stupid ways that I tried that I removed from the code.
Removed bad code. Used single controller as recommended by ThinkingMedia.
{{ Alpha.selectedTempltKind | json }}
above the<select>
tag. This will print the current selection as JSON in the popup. That way you can see if you are actually setting a valid default value.>
character in the<option>
tag. Don't know if that's just in your post or the original template.