formly-js / angular-formly

JavaScript powered forms for AngularJS
http://docs.angular-formly.com
MIT License
2.22k stars 405 forks source link

validation not accept number #608

Closed pequenopadre closed 8 years ago

pequenopadre commented 8 years ago

good Morning! excuse my lack of knowledge , I am new to the angular - formly and I wonder how and where should I create a validation for the input did not accept the input numbers. sorry the English using google translator { "className": "col-md-7 ", "type": "input", "key": "Nome", "templateOptions": { "required": true, "type": "text", "label": "Nome", "maxlength": 100 } }

benoror commented 8 years ago

Hi @pequenopadre! Thanks for your interest in angular-formly. I'm sure that angular-formly can do this for you. The best way to get help is by following the instructions here: http://help.angular-formly.com

I'm going to go ahead and close this issue because the github issues for this project are reserved for bug reports and feature requests. See you on chat! Thanks!

benoror commented 8 years ago

Simple solution

HTML5 Input Types

Formly solution

Custom validators