Skip to content
This repository has been archived by the owner on Sep 4, 2024. It is now read-only.

Optional placeholder doesn't enforce following placeholder character #520

Open
killroyboy opened this issue May 1, 2021 · 0 comments
Open

Comments

@killroyboy
Copy link

V-Mask and Vue versions

"latest" (2.2.4), 2.5.2

Reproduction Link

https://codesandbox.io/s/v-mask-demo-forked-vbthi

Steps to reproduce

  1. Create a mask that includes the optional character followed by either a custom or standard placeholder
  2. Attempt to enter a value that does not include the expected value for the given placeholder and it is allowed.
  3. See "Optional Uppercase" and "Optional Digit" inputs in codesandbox link for details

What is Expected?

The mask ?#?# should allow only 1 or 2 digits.

What is actually happening?

The mask ?#?# allows 1 or 2 of any character

@killroyboy killroyboy changed the title Optional character doesn't enforce following placeholder character Optional placeholder doesn't enforce following placeholder character May 1, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant