I'm trying to create a simple property editor that pulls values from an api and displays them as a drop down list.
Largely everything has gone okay and the list is displayed and when selected the value is saved in the database. The problem is that when you go to edit the document type again it doesn't set the selected item in the list.
Property Editor help
I'm trying to create a simple property editor that pulls values from an api and displays them as a drop down list.
Largely everything has gone okay and the list is displayed and when selected the value is saved in the database. The problem is that when you go to edit the document type again it doesn't set the selected item in the list.
My controller looks like this:
And my view looks like this:
And my package manifest looks like this:
}
Any body got any ideas where I'm going wrong?
Comment author was deleted
Could you see what happen if you set the ng-model directive in the select so
Thought I'd tried that already but obviously not as now I've added it in it's all working as expected. Cheers for the help and the rapid response!
Comment author was deleted
Great, glad it's working :)
is working on a reply...