myforce / angularjs-dropdown-multiselect

AngularJS Dropdown Multiselect
http://myforce.github.io/angularjs-dropdown-multiselect/
MIT License
34 stars 28 forks source link

Single select is not allowed when custom Prop is set. #33

Closed pradzikowski closed 8 years ago

pradzikowski commented 8 years ago

Hi, I have an issue with customProps and single select. I cant choose any selection when any Prop - idProp, displayProp is set. Egz:

$scope.Options = [ {number: 1, value: "David"}, {number: 2, value: "Jhon"}, {number: 3, value: "Danny"} ]
$scope.Model = {};
$scope.Settings = {
    selectionLimit: 1,
    displayProp: 'value',
    idProp: 'number'
};

////

<div ng-dropdown-multiselect="" options="Options " selected-model="Model " extra-settings="Settings ">