Comments (4)
This directive is also a select
directive. So the ngModelController.$setViewValue() is invoked by the select
directive. If select directive hasn't use $setPristine() to restore $pristine state, I also follow this behavior.
As for $touched properties. I can't find it in 1.2.x. I think it is a new property in 1.3.x. This feature will add soon.
from nya-bootstrap-select.
I'm sorry about $touched property, I've looked at the wrong documentation version.
$dirty works fine with select directive, but not with nya-bootstrap-select.
from nya-bootstrap-select.
Would you please show me a sample to describe in what situation the $dirty is not set.
I tried all the examples and the ng-dirty
is set probably when I select any option.
from nya-bootstrap-select.
You are right, I'm unable to reproduce it outside of my application.
Probably something was wrong with my code and eventually it started working...
My apologies and thanks for quick responses
from nya-bootstrap-select.
Related Issues (20)
- Custom Html selected value HOT 2
- IE Scrollbar bug HOT 3
- Support for binding actions-box, multiple, live-search HOT 3
- searchbox keydown error due to conflict with bootstrap-select plugin
- FIX: Need to double click on get focus in order to open the select list HOT 1
- Live search does not working properly with grouped list
- by default select one option in dropdown HOT 1
- Dropup from bootstrap-select HOT 3
- selected items as deep copy HOT 7
- Live-search does not clear input after selecting an option HOT 1
- Dynamic attribute "multiple" HOT 1
- async data error HOT 2
- With Action Box & Multiple options, Select All and Deselect All does not work HOT 3
- Single selection drop-down unable to reset the values in nya bootstrap select in angular 1.5 HOT 19
- Changing the collection with a selected (no longer valid) modelValue results in first element selected HOT 3
- <i> as a tick
- In-built UI to clean model value HOT 2
- Update label when options are changing HOT 3
- Focus on selected item with live-search
- Not showing "show-menu-arrow" for initial default value HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nya-bootstrap-select.