Git Product home page Git Product logo

Comments (5)

bvaughn avatar bvaughn commented on May 4, 2024

I'm marking this half-bug, half-enhancement. This project doesn't officially support IE8, (at least not out of the box), although I'd like to make it as pain-free as possible for folks to use formFor with IE8.

Let me see if I can get a VM spun up and I'll take a look. :)

from angular-form-for.

bvaughn avatar bvaughn commented on May 4, 2024

After a little poking around, it seems the problem is that IE8 errors when I attempt to unbind (or remove) the $element's 'input' binding. In this case IE throws a "TypeError: type mismatch".

I can try/catch this error but... that breaks the debounce.

from angular-form-for.

bvaughn avatar bvaughn commented on May 4, 2024

So I looked at Angular's source and noticed that they were falling back to keydown and paste events if no input event was supported. I've updated the formForDebounce directive to mimic this fallback behavior and my local IE8 test harness is working now. I should have a release up with this fix shortly.

from angular-form-for.

bvaughn avatar bvaughn commented on May 4, 2024

This should be working for you in IE8 now as of release 1.2.11. Please let me know if you encounter anything unexpected during your testing. My IE8 testing is very limited because it's not really officially supported.

from angular-form-for.

cissyshi avatar cissyshi commented on May 4, 2024

Thank you!!!

from angular-form-for.

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.