RedMadRobot / input-mask-ios

User input masking library repo.
MIT License
578 stars 96 forks source link

How to define ${dynamic amount }/month in input mask #93

Closed Joshig99 closed 1 year ago

Joshig99 commented 2 years ago

the amount should be dynamic it may be 1 or 10 or 100 or 1000 ...etc, i defined it like "$[0000]/month"....but it not works for me it showing "/month" after entering 4 digits and also it did not taking more than 4 digits

taflanidi commented 1 year ago

Hey @Joshig99 Thanks for your question. You should probably try our RTL masks for your example, see https://github.com/RedMadRobot/input-mask-ios/wiki/2.2-Right-to-Left-&-Digit-Grouping

Should you have additional questions, please do not hesitate to reopen this issue.