Skip to content

Conversation

wuda-io
Copy link
Member

@wuda-io wuda-io commented Mar 8, 2023

Proposed changes

Improving the Style and Handling of Text Fields, since it is often difficult to re-initialize the inputs again.
With this approach, it works without using JavaScript. Also the Validation should be created dynamically.
During the rewriting, Material3 Guidlines were applied. More Info here https://m3.material.io
The HTML Structure was kept the same, so it is even backwards compatible.
There is a standard version of an input and an outlined version, see video below for appearance.
I had to remove the form tests, since the feature is now handled via CSS only.

Screenshots (if appropriate) or codepen:

Bildschirmaufzeichnung.vom.2023-03-08.22.12.25.webm

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 commit messages follows the conventional commit format
  • My change requires a change to the documentation, and updated it accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@wuda-io wuda-io merged commit 846ba11 into materializecss:v2-dev Mar 11, 2023
@wuda-io wuda-io deleted the textfieldsCSSonlyAndM3 branch March 11, 2023 11:04
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.

1 participant