ampproject / ampproject/amphtml
amp-inputmask make minlength input attribut dont work.
Open
Component: amp-input-mask
Stale
Type: Bug
WG: components
- Dominant language
- JavaScript
- Stars
- 14.9k
- Forks
- 4.1k
- PR merge metrics
- No merged PRs in 30d
Description
### Description
default input minlength="5", dont work with inputmask attributes
see the example:
### Reproduction Steps
``
### Relevant Logs
_No response_
### Browser(s) Affected
_No response_
### OS(s) Affected
_No response_
### Device(s) Affected
_No response_
### AMP Version Affected
_No response_
Contributor guide
Research direction
The issue provides a reproduction using an AMP input element with minlength and inputmask attributes, but names no source file or test. Start by reproducing the provided markup and locating the inputmask validation entry point; done means minlength is honored for the masked input.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend, web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100