2016-07-10 16 views

Antwort

0

Gelöst mit Konfigurieren der App ausführen.

`app.run(function (formlyConfig) { 
    formlyConfig.setType({ 
     name: 'multiSelect', 
     extends: 'select', 
     template: '<select kendo-multi-select k-options="" ng-model="model[options.key]" class="form-control" multiple></select>' 
    }); 
});` 

Und Einstellung so abgelegt.

`vm.fields = [  
    { 
    key: 'multiSelect', 
    type: 'multiSelect', 
    templateOptions: { 
     type: 'multiSelect', 
     label: 'Fruits',   
     options: data 
    } 
    },` 

Sie können sehen Beispiel here