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

fix(MdFieldMixin) Preserve the name attribute on change #1385

Merged
merged 1 commit into from
Jan 12, 2018
Merged

fix(MdFieldMixin) Preserve the name attribute on change #1385

merged 1 commit into from
Jan 12, 2018

Conversation

jastkand
Copy link
Contributor

@jastkand jastkand commented Jan 9, 2018

I've created a codepen which demonstrates an issue: https://codepen.io/jastkand/pen/EoQGKV

You can open a devtools and see that there are name attributes on input and textarea. When you try to change any input the name attribute will be removed which is not an expected behavior.

This also should fix this issue #1278, because serialization uses name attributes

Copy link
Member

@marcosmoura marcosmoura left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh my god! You created tests! Thank you! <3

Copy link
Member

@marcosmoura marcosmoura left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh my god! You created tests! Thank you! <3

@marcosmoura marcosmoura merged commit 0a83834 into vuematerial:dev Jan 12, 2018
@jastkand jastkand deleted the preserve-name-attribute branch January 12, 2018 20:52
@CharlesKumar
Copy link

when this change gonna be in the release (atleast in next beta)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants