formly-js / angular-formly

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

Adding attributes to the formly-field DIV #705

Open captainmorgan0 opened 8 years ago

captainmorgan0 commented 8 years ago

This is more of a feature request than a bug. I couldn't see where else to add a feature request. ngModelAttrs allows you to add attributes to the input field. It would be good if there was something that allowed you to add attributes to the formly-field DIV. I am using angular material and have the need to dynamically add flex attributes to the formly-field DIV.