insin / inputmask-core

Standalone input mask implementation, independent of any GUI
MIT License
304 stars 52 forks source link

how to deal with optional characters #1

Open sebas5384 opened 9 years ago

sebas5384 commented 9 years ago

For example, the bold number is "optional", not always required:

value: 55 48 2332-4456

suggestion of mask: 11 11 (1)?1111-1111

deser commented 8 years ago

Guys, is there any progress on this feature?

gbrlsepulveda commented 8 years ago

I have the same question, would like to know if it's possible

renatorib commented 8 years ago

Progress?

chimanyans commented 8 years ago

+1

leaopedro commented 8 years ago

Anything?

longmfe commented 8 years ago

+1

lehcosta commented 8 years ago

+1

mohithg commented 7 years ago

We need to have regular expression support, so that this becomes easy.

leordev commented 7 years ago

same problem here... any news?

leizhao4 commented 7 years ago

Same here. I'm trying to make a currency input which allows any of these:

$1.11 $111.11 $111,111.11 $111,111,111.11 ......

skarjalainen commented 7 years ago

Same problem here, I would need to support dates with no leading zero on day and month values. These would be supported: 1.1.2017 1.10.2017 20.1.2017 31.12.2017

rodrigowbazevedo commented 6 years ago

Hi everyone I made this feature on PR #40 hope it helps you.

thadeu commented 5 years ago

+1