forked from Dogfalo/materialize
-
-
Notifications
You must be signed in to change notification settings - Fork 108
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Before submitting...
- I have searched for duplicate or closed issues.
- I have read the CONTRIBUTING document and my issue is following the guidelines.
- I have read the template completely before filling it in.
Context
IIn Materialize 1.0.0, input field validation occurred automatically by adding the attributes data-error and data-success. Additionally, enabling regex validation for input fields would enhance functionality.
Current Behavior
The data-error does nothing when you write an invalid e-mail for example.
Codepen: https://codepen.io/lschwend98/pen/wvNXvbz
Expected behavior
Validate the type and add the error or success mesage to the input field.
Possible Solutions or Causes
Maybe the functionality was removed and could be added again?
Steps to reproduce
No response
Your Environment
- Version used: 2.0.3 beta
- Browser Name and version: Google Chrome Version 119.0.6045.160
- Operating System and version (desktop or mobile): desktop
- Additional information you want to tell us:
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working