Git Product home page Git Product logo

Comments (6)

slavafomin avatar slavafomin commented on July 19, 2024

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.

Jeevanandanj avatar Jeevanandanj commented on July 19, 2024

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.

slavafomin avatar slavafomin commented on July 19, 2024

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.

Jeevanandanj avatar Jeevanandanj commented on July 19, 2024

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.

Jeevanandanj avatar Jeevanandanj commented on July 19, 2024

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;

  1. Loaded the input modified plugin through ocLazyload in routing.
  2. 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.

Jeevanandanj avatar Jeevanandanj commented on July 19, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.