simple-mask-money icon indicating copy to clipboard operation
simple-mask-money copied to clipboard

Maxlenght

Open dhyogo opened this issue 6 years ago • 1 comments

Hi! Is it possible to use the maxlenght property?

dhyogo avatar Mar 19 '19 18:03 dhyogo

Many thanks for your issue is very important to help improve our package. 😄 👍 No, at this time it is not possible to define formatting or conditions in values, but this is an excellent idea and can enter the roadmap, however see a more generic implementation than just max length. In version 3 we have 2 callback methods beforFormat and afterFormat I believe we can implement a way to return a value in this callback that will set the new input value so that you have the freedom to implement what you need. Anyway this will be included in the next versions if you want to contribute more feel free to send your a pull request... Thanks :heart:

codermarcos avatar Mar 21 '19 18:03 codermarcos