insin / insin/inputmask-core

Dymamic placeholder

Open
#45 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
303
Forks
51
PR merge metrics
No merged PRs in 30d

Description

### 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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.