RedMadRobot / input-mask-ios

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

Waiting for discussion #79

Closed obj-dayao closed 5 years ago

obj-dayao commented 5 years ago

Prerequisites done.

Summary My mask is [099999]{.}[00],When entering the sixth place, I don’t think it should bring the decimal point directly, but the seventh place. e.g. When I just need a 6-digit integer, I have to delete the decimal point.

taflanidi commented 5 years ago

Hey @obj-dayao! Thanks for your question.

In the prerequisites section — which you have conveniently omitted — there's a requirement for you to read our Wiki.

According to our Wiki, there's an autocompletion feature provided with two examples demonstrating the exact behaviour you are talking about. In order to turn autocompletion off, the Wiki states, there's a dedicated text field listener @IBInspectable property called autocomplete, which you may also assign during the initialisation.

The property equals true by default, though you may alter it on the fly.

obj-dayao commented 5 years ago

I had found it. Thank you