formly-js / angular-formly-website

The website for angular-formly
http://angular-formly.com
18 stars 26 forks source link

New Example: mask #10

Closed ghost closed 9 years ago

ghost commented 9 years ago

I would like an example that demonstrates: using masks input, ng-mask. thanks.

kentcdodds commented 9 years ago

Sorry, I didn't realize I wasn't watching the repo and just saw this for the first time now. Do you still need this example? If so, I'll try to get this example in as soon as possible. Thanks for your patience! Please let me know.

ghost commented 9 years ago

Hi Kent, thank you for your reply & thank you for this great library!!! I'm developing a very big project with hundrads of schemas with complicated masks, for example: geo masks. I want to know the best way to approch this.

If you dont mind, I would like to ask you a question: I want to embed angular-translate into formly, what is your recommendation for this?

Thanks a lot for you kind help.

kentcdodds commented 9 years ago

I created an example request for the translation question you asked (#13). I'll let you know when these are added.

kentcdodds commented 9 years ago

Here's the example! http://angular-formly.com/#/example/very-advanced/ng-mask

ghost commented 9 years ago

Thank's * 10^6.

hrishi1183 commented 8 years ago

ng-mask is not working conditional.. expressionProperties: { "templateOptions.mask": "true ? '9999999999-99' : '(999)999-999'" }, ex: one text field need to have different format based on its previous selection.. but expressionProperties is not working with ng-mask

http://jsbin.com/wixawijuca/1/edit?js,output

can anybody has any idea how to make ng-mask conditional