question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Duplicate attribute: class in edge and IE

See original GitHub issue

Vue.js version

2.0.2

Reproduction Link

http://codepen.io/anon/pen/WGyrdz

Steps to reproduce

Just load up the page in edge or internet explorer (11) with your console open. Vue will display the warning “duplicate attribute: class”. When removing the class attribute, the warning goes away.

What is Expected?

No warnings 😃. I expect vue to use both the regular class attribute and the :class attribute and merge them together into the class attribute.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:3
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
Kcharlecommented, Mar 30, 2017

As @jdalton said, this is still an issue in Edge 14.

0reactions
Yangfan2016commented, Sep 26, 2017

I‘m meeting this too

Read more comments on GitHub >

github_iconTop Results From Across the Web

Identity synchronization and duplicate attribute resiliency
Duplicate Attribute Resiliency is a feature in Azure Active Directory that will eliminate friction caused by UserPrincipalName and SMTP ...
Read more >
Can an HTML element have the same attribute twice?
I'm considering writing code which produces an HTML tag that could have duplicate attributes, like this:
Read more >
Disallow duplicated attributes (no-dup-attr) - HTML-validate
Disallows duplicated attributes on same element ( no-dup-attr ). HTML disallows two or more attributes with the same (case-insensitive) name.
Read more >
Duplicate Content: Why does it happen and how to fix issues
Duplicate content is content that appears on the internet in more than one place. That "one place" is defined as a location with...
Read more >
Finding Duplicate Objects in Active Directory
When two objects of the same class have overlapping values in different attributes (ie, User 1 has a UPN of user1@domain.com and User...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found