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

placeHolderCharacter doesn't work with keepCharacterPositions #1347

Open
KaiBrouxAca opened this issue Apr 11, 2024 · 0 comments
Open

placeHolderCharacter doesn't work with keepCharacterPositions #1347

KaiBrouxAca opened this issue Apr 11, 2024 · 0 comments

Comments

@KaiBrouxAca
Copy link

🐞 bug report

Is this a regression?

No, didn't work in any version

Description

When [keepCharacterPositions]="true" and you want to have a placeholder like this: [placeHolderCharacter]="'dd-mm-yyyy'", you are not able to fill in more than 1 digit into the input.

🔬 Minimal Reproduction

https://stackblitz.com/edit/angular-ivy-bxqstk?file=src%2Fapp%2Fapp.component.html,src%2Fapp%2Fapp.component.ts,src%2Findex.html

🔥 Exception or Error

No exceptions are thrown.

🌍 Your Environment

Angular Version:

Angular CLI: 14.2.6
Node: 14.21.3
Package Manager: npm 6.14.18
OS: darwin arm64

Anything else relevant?

Nothing else is relevant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants