Comments (14)
Please see this section: https://github.com/betsol/angular-input-modified#inputmodifiedconfigprovider
You can do: inputModifiedConfigProvider.disableGlobally()
to disable the directive by default.
Then add bs-modifiable
attribute to all input elements you see necessary.
I think I will need to reflect this in documentation and/or demos.
from angular-input-modified.
It would be good if we had the opposite. A directive to set whether the field should be tracked.
from angular-input-modified.
Yes, I will try to implement it in the next release. Do you think bs-modifiable="true/false"
would be a good solution?
from angular-input-modified.
To be honest, intuitively I tried this, then I checked the source code and realized that this directive does nothing :). Also, there is an issue validating/comparing null values. I'll try to reproduce again and send details.
from angular-input-modified.
Sure, please create a Plunk to demonstrate the issue. I will look into it. You can fork our plunk from the README. Make sure to use the latest master version of the library though.
from angular-input-modified.
Will do later today ... 4:30 in the morning here, going to bed.
from angular-input-modified.
For a quick reference:
http://screencast.com/t/o1XgU1UzsrBs
http://screencast.com/t/DXgIl6kMMt
Will create the Plunkr later.
from angular-input-modified.
Thank you @vcardins for a bug report. I think I've fixed it in immediate 2.0.5
release: "Fixed an issue where elements were used without a parent form". Can you confirm this please? Thanks!
from angular-input-modified.
Thanks for the prompt response, excellent. Have you updated bower yet?
from angular-input-modified.
Yes, you can install latest 2.1.0
version via Bower.
from angular-input-modified.
That's was fast :) Thanks again, I'll keep testing. Have you implemented the directive to exclude fields from being validated?
from angular-input-modified.
Not yet, but I will try to finish this until the end of the week.
from angular-input-modified.
Thanks !!
from angular-input-modified.
Hello! I've implemented the required behavior in version 2.2.0
of the module. Please see the related chapter in the README: https://github.com/betsol/angular-input-modified#excluding-some-fields.
Thank you for a useful feature request!
from angular-input-modified.
Related Issues (20)
- Add support for CommonJS HOT 5
- ngModel directive is not triggered HOT 6
- Compare Types HOT 3
- bs-modfiable seems to not behave as expected HOT 2
- add license to bower.json file HOT 1
- Add support for ngTagsInput HOT 3
- Angular 2 support? HOT 6
- TypeError: Cannot read property '$$notifyModelModifiedStateChanged' of null HOT 2
- It's not working for Text-Angular . HOT 1
- How to eanble this script on a specific form ? HOT 4
- "Ghost modified control" HOT 1
- Issues with input type=email HOT 1
- Bug with angular 1.6.1 HOT 5
- TypeError: Cannot read property '$$notifyModelModifiedStateChanged' of null
- Property `modified` on parentform not updated when childform was removed HOT 4
- $$onChildModelModifiedStateChanged HOT 3
- How do I know why the form is marked as modified? HOT 4
- Console Error HOT 5
- Modified state gets screwed when a subform is toggled HOT 1
- Modified state based on $viewValue instead of $modelValue ?
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 angular-input-modified.