Giter VIP home page Giter VIP logo

Comments (7)

Anthropic avatar Anthropic commented on May 25, 2024 1

@yinbiao thanks for taking the time to make a clear issue. Can you confirm when you say it worked that it shows and hides the field as expected or just doesn't error? It looks above that the added if condition would exclude the code from running in IE at all wouldn't it?

from angular-schema-form.

yinbiao avatar yinbiao commented on May 25, 2024

I added a conditional judgment, then it worked in IE:
if(child.getAttribute){
var ngIf = child.getAttribute('ng-if');
child.setAttribute(
'ng-if',
ngIf ?
'(' + ngIf +
') || (' + evalExpr + ')'
: evalExpr
);
}

from angular-schema-form.

scottux avatar scottux commented on May 25, 2024

@yinbiao Any particular version of IE?

from angular-schema-form.

scottux avatar scottux commented on May 25, 2024

And this is weird, it looks like it is failing because it is trying to call getAttribute on an EmptyTextNode. Maybe we should skip those.

from angular-schema-form.

edclements avatar edclements commented on May 25, 2024

I think this is a duplicate of #903 which is fixed in 0.8.14

from angular-schema-form.

yinbiao avatar yinbiao commented on May 25, 2024

@Anthropic yes , it not running on IE, but shows and hides the field as expected and doesn't error,

from angular-schema-form.

yinbiao avatar yinbiao commented on May 25, 2024

@scottux I only tested on a version of the IE browser,it should be ie 8

from angular-schema-form.

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.