inputmask-core icon indicating copy to clipboard operation
inputmask-core copied to clipboard

Dymamic placeholder

Open geekyme opened this issue 7 years ago • 0 comments

Current behavior

pattern is MM/DD/YYYY, as you fill out the input, we get:

1_/__/____ 12/__/____

Desired behavior

pattern is MM/DD/YYYY, as you fill out the input, we get:

1M/DD/YYYY 12/DD/YYYY 12/1D/YYYY ...

Right now this is not possible because placeholder character is fixed. I need it to be dynamic based on the pattern.

geekyme avatar Oct 12 '18 09:10 geekyme