Open amitchoudhary151417 opened 8 years ago
I am also not able to change button default text this always showing "Select". Can we also mention min-width in setting.
Screen Capture Zip File: MultiSectionError.zip
HTML:
<div ng-dropdown-multiselect="" options="ouTags" search-filter="ouTagsFilter" style="min-width:20%;" selected-model="userInfo.ouSeletedTags" extra-settings="ouTagsSettings"></div>
Code:
$scope.ouTags = []; $scope.userInfo.ouSeletedTags = []; $scope.ouTagsFilter = ''; $scope.ouTagsSettings = { enableSearch: false, checkboxes: true, closeOnSelect: true, closeOnDeselect: true, scrollable:true, smartButtonMaxItems: 10, buttonDefaultText: 'Select OU', buttonClasses: 'btn-inputgroup' }
Error as follow when I used search box to type But value is selected and getting output also. Error Message: angular.min.js:117 TypeError: Cannot read property 'parentNode' of undefined at m.$scope.keyDownSearchDefault (angularjs-dropdown-multiselect.min.js:1) at fn (eval at compile (angular.min.js:231),:4:427)
at b (angular.min.js:126)
at e (angular.min.js:274)
at m.$eval (angular.min.js:145)
at m.$apply (angular.min.js:145)
at HTMLInputElement. (angular.min.js:274)
at HTMLInputElement.dispatch (jquery.js:4618)
at HTMLInputElement.elemData.handle (jquery.js:4302)(anonymous function) @ angular.min.js:117(anonymous function) @ angular.min.js:90$apply @ angular.min.js:145(anonymous function) @ angular.min.js:274dispatch @ jquery.js:4618elemData.handle @ jquery.js:4302