Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

filter undefined dom attributes #1576

Closed
tangjinzhou opened this issue Jul 14, 2020 · 2 comments
Closed

filter undefined dom attributes #1576

tangjinzhou opened this issue Jul 14, 2020 · 2 comments

Comments

@tangjinzhou
Copy link
Contributor

tangjinzhou commented Jul 14, 2020

Version

3.0.0-beta.20

Reproduction link

https://jsbin.com/tetepuvaqi/edit?html,output

Steps to reproduce

should not set when dom attribute is undefined.
For example, we will get id="" when id is undefined.

What is expected?

Behavior consistent with vue2

What is actually happening?

Inconsistent behavior with vue2

@tangjinzhou tangjinzhou changed the title fiter undefined dom attributes filter undefined dom attributes Jul 14, 2020
@yyx990803
Copy link
Member

Does this affect the behavior in anyway? As far as I know this doesn't make any difference except for when inspecting the DOM elements in devtools.

@zhangzhonghe
Copy link
Member

@yyx990803 Should affect CSS property selector.

@github-actions github-actions bot locked and limited conversation to collaborators Nov 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants