Skip to content

Conversation

coffeeandwork
Copy link

@coffeeandwork coffeeandwork commented Oct 9, 2022

Proposed changes

Ensure that floating labels work correctly on input elements without an explicit type attribute.

Screenshots (if appropriate) or codepen:

n/a

Types of changes

  • Bug fix (non-breaking change which fixes an issue).
  • New feature (non-breaking change which adds functionality).
  • Breaking change (fix or feature that would cause existing functionality to change).

Checklist:

  • I have read the CONTRIBUTING document.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@coffeeandwork coffeeandwork changed the title fix: floating labels do not work when type attribute is absent from input element #228 fix: floating labels do not work when type attribute is absent from input element #288 Oct 9, 2022
@Smankusors Smankusors requested a review from DyegoCosta October 9, 2022 17:03
@Smankusors
Copy link
Member

LGTM
btw @DyegoCosta, I asked you to review this since you recently edit this one. Do you think it's ok? Not breaking yours? 😅

Copy link

@DyegoCosta DyegoCosta left a comment

Choose a reason for hiding this comment

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

LGTM

You can also add a fixture in tests/spec/forms/formsFixture.html to cover this new field.

@coffeeandwork
Copy link
Author

LGTM

You can also add a fixture in tests/spec/forms/formsFixture.html to cover this new field.

Done.

@Smankusors Smankusors merged commit e5f5ebb into materializecss:main Oct 10, 2022
@Smankusors
Copy link
Member

Thanks for helping me review this one @DyegoCosta 😃

Btw, I also invited you @coffeeandwork as the member of materializecss, welcome! 🎉

@coffeeandwork
Copy link
Author

Thanks for helping me review this one @DyegoCosta 😃

Btw, I also invited you @coffeeandwork as the member of materializecss, welcome! 🎉

Thank you all.

@Smankusors Smankusors added the bug Something isn't working label Oct 11, 2022
@Smankusors Smankusors added the hacktoberfest-accepted The PR is a valuable contribution that counts for the Hacktoberfest Event label Oct 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working hacktoberfest-accepted The PR is a valuable contribution that counts for the Hacktoberfest Event

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants