Comments (6)
Hello @Jeevanandanj! Could you please create a Plunk to isolate and demonstrate the problem? Make sure to include the latest versions of all the modules. You can fork our demo Plunk if you want: http://plnkr.co/edit/g2MDXv81OOBuGo6ORvdt?p=preview.
from angular-input-modified.
Actually in plunkr and in your sample, I've seen that's working and ng model directive is triggering. But in my application which I've used is not triggering this.
I am using https://github.com/ocombe/ocLazyLoad to load the files.
If i globally declare ng model directive in my application, that's working.But in your plugin that's not working. But ng form directive from your plugin is working.
Here i've confused why the ng model directive alone is not triggering.
from angular-input-modified.
You will have to pinpoint the issue yourself I'm afraid. I will not be able to help without knowing the roots of the problem. Please try to isolate the problem and give me some steps to re-create it, or better create a Plunk with isolated example.
I'm not using lazy-loading for modules myself. Maybe it's a good idea to load our module synchronously with the application. It's functionality is global and the code is minimal, the overhead is almost negligible. You can even enable the module for only specific forms if you want to.
from angular-input-modified.
I've renamed extended ng-model directive to 'ng-model-check' (ngModelCheck) and checked. That's actually working. I don't know the actual reason for this. But I am sure the issue is with ng model extended directive.
from angular-input-modified.
Really I don't know the reason. I have tried in plunkr with oclazy loading (http://plnkr.co/edit/s5lzVXQcdbjceUu3puSI?p=preview), but i couldn't reproduce.
Do I need to include any css?
I've tried with the following steps;
- Loaded the input modified plugin through ocLazyload in routing.
- injected the module dynamically. $ocLazyLoad.inject('ngInputModified');
Then I"ve used the same code in my application for sample. But its not working. :-(. Do i missed anything?
from angular-input-modified.
That's nice plugin. This is working when i copy the same code and attach directly with my module.
There must be some issue with lazy loading or with my app code.
from angular-input-modified.
Related Issues (20)
- Add support for CommonJS HOT 5
- 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.