How to Make Forms Suck Less with Formly – Forms suck? – Change This:



How to Make Forms Suck Less with Formly – Forms suck? – Change This:

0 2


polymorphic-forms

Polymorphic Forms with Formly

On Github agileurbanite / polymorphic-forms

Polymorphic Forms with Angular Formly

By Patrick Woo Agile Urbanite

About Me

I am a software engineer, currently at Capital One, that loves to find solutions to interesting problems.

Angular Formly

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.

Formly Example

  • Default Forms
  • Model Options
  • Promised Based Forms
  • Custom templates
  • Custom types

Why polymorphic forms?

Working in a large team that are scattered across geo-locations, it's best to create a base form that can be inherited, extended, or overwritten. Formly provides just that as form elements can be results of promises.

Questions?

Thanks to Kent C. Dodds for his help and for actively maintaining such an awesome tool!