forked from chengz/schema-form-strapselect
    
        
        - 
                Notifications
    
You must be signed in to change notification settings  - Fork 45
 
Open
Description
ui-select allows you to bind the entire item to ng-model. e.g. You have an array of countries:
[{name: "Australia", code: "AUS"}, {name: "United Kingdom", code: "UK"}]
You want to bind the selected country to your model - not so you have have either the name or the code, but the whole object so you may have
$scope.selectedCountry = {name: "United Kingdom", code: "UK"}
With the angular-schema-form-dynamic-select add on, you are forced to return your titleMap in name/value format. Whilst the map function allows you to pick a single property from each item to be your 
Metadata
Metadata
Assignees
Labels
No labels