Showing posts with label javascript forms. Show all posts
Showing posts with label javascript forms. Show all posts
angular-formly - JavaScript powered forms for AngularJS

angular-formly - JavaScript powered forms for AngularJS

June 28, 2017
angular-formly is an AngularJS module which has a directive to help customize and render JavaScript/JSON configured forms. The formly-form directive and the formlyConfig service are very powerful and bring unmatched maintainability to your application's forms.
 <form name="vm.someForm" ng-submit="vm.handleSubmit()">  
  <formly-form model="vm.model" fields="vm.fields" options="vm.options">  
   <button type="submit" ng-disabled="vm.someForm.$invalid">Submit</button>  
   <button type="button" ng-click="vm.options.resetModel()">Reset</button>  
  </formly-form>  
 </form>  
From there, it's just JavaScript. Allowing for DRY, maintainable, reusable forms.

Learning

Egghead.io Lessons https://www.youtube.com/watch?v=o90TMDL3OYc&feature=youtu.be Check it out here

Examples

The website is full of tons of examples.

More

Find more resources at learn.angular-formly.com

Documentation

Find all the documentation at docs.angular-formly.com.

Plugins

Find all the plugins at docs.angular-formly.com/page/plugins

Getting Help

Please don't file an issue unless you feel like you've found a bug or have a feature request. Instead, go to help.angular-formly.com and follow the instructions.

Bookmark Links

Finally, You can bookmark these :-)