epicleptico / wenzhixin-multiple-select-angular Goto Github PK
View Code? Open in Web Editor NEWImplementation in angular for wenzhixin multiple select
Implementation in angular for wenzhixin multiple select
Support for the event handlers in Wenzhixin's original library would be useful.
For example, on blur could be utilized for querying SQL with the selected parameters once the menu is closed.
First off, AWESOME. Very surprised to find this :)
Is there any way to check all options by default?
Also, are there any strategies for improving the rendering speed? I have to add some additional time to the $timeout value when loading data dynamically for it to render the options provided by the server response.
Keep up the great work ๐
next version changes:
Hello.
I found a problem while developing a panel to edit same object properties based on your multiple-select directive.
My panel (also a directive) gets an object to be modified. When i'm creating new object inside a directive and set its fields to ng-multiple-selects ng-models it is working ok. But when this object is created earlier or binded model is changed in some other place (not by ) the model itself is changed (i'm printing its content), but the values in ng-multiple-select's not. They stays as they were before changes.
Any ideas where to check it? I tried many ways...
You are using $scope.$watch to check for changes in ngModel. I'm not sure, but maybe there is the problem?! I tried to copy source code instead of using Your directive with bower, to check and edit this code myself, but then I encount some problems with for example "$scope.$render already in progress" etc. I thought it would be a good idea to use ngModel.$render instead of $scope.$watch for this and try to update ng-multiple-select view inside this function - not sure exactly how (yet).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.