Component: InputMask #13798
Labels
Status: Discussion
Issue or pull request needs to be discussed by Core Team
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Type: New Feature
Issue contains a new feature or new component request
Describe the feature you would like to see added
Two new attributes for the component to transmit down to the child element.
Attribute list:
We realize that these are not part of the tag specification. Nevertheless they seem to do the trick when it comes to Edge.
Is your feature request related to a problem?
When opening a page that contains InputMasks with the Microsoft Edge browser the private info of the user is suggested for autocompleting the input.
This happens even with the autocomplete attribute already set to "off".
What was observed is that using aria-autocomplete eliminates this bug from edge.
Sometimes the Edge browser will also trigger a pop-up with suggested values if the spellcheck is not set to false.
Describe the solution you'd like
Having the two extra attributes being passed down to the child element of this component would fix the problem.
Describe alternatives you have considered
What we used as an alternative was to create a directive with access to the InputMask component and querying the DOM for the child element to set the attribute after the view init event when the input is actually generated.
`
constructor(private mask: InputMask) {
}
`
But this is an ugly workaround in our opinion. :)
Additional context
The text was updated successfully, but these errors were encountered: