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

Question/bug: HTML prop minlength doesn't work in SMUI Textfield component #646

Open
ppcamp opened this issue Feb 13, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@ppcamp
Copy link

ppcamp commented Feb 13, 2024

Describe the bug
When we try to use some manual html input element, and then submitting this form, it fails when length is less than specified, although, when using @smui/Textfield, the validation doesn't work as expected.

To Reproduce
Example https://svelte.dev/repl/493ac4aee57e47b8a9bbad99e4317e6a?version=4.2.10

Expected behavior
It should validate properly, showing up the HTML validation message, or we should have some doc about how to do this.

Screenshots
Screenshot when submitting both.

image image

Desktop (please complete the following information):

  • OS: Windows 11 22H2 22621.3085
  • Browser: Edge 121.0.2277.112 (Official build) (64-bit)
  • Version: 6.1.4 - until latest
@ppcamp ppcamp added the bug Something isn't working label Feb 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant