I need dynamically load a select, but before the list is populated, I don't want user click into it and see a blank dropdown. So I move the loading code to controller, only set disable to false when the list is populated.
But with the below code, I can get the list populated, but the set disable to false doesn't work.
I need dynamically load a select, but before the list is populated, I don't want user click into it and see a blank dropdown. So I move the loading code to controller, only set disable to false when the list is populated. But with the below code, I can get the list populated, but the set disable to false doesn't work.
Any idea?