formly-js / angular-formly

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

Angular Formly with Kendo UI #751

Open Gildissimo opened 6 years ago

Gildissimo commented 6 years ago

What about best practices for intereacting Formly with KendoUI widgets? In particular Formly needs ng-model....kendo use k-ng-model....and using kendo is a very bad thing to use both!!! HELP!!!

egucciar commented 6 years ago

I think I saw functionality in formly source code to turn off the default handling for ng-model. You could possibly implement your own model watching & update the formy model when KendoUI model changes in a custom type http://docs.telerik.com/kendo-ui/api/javascript/data/model#events-change

Gildissimo commented 6 years ago

Thanks a lot, I've implemented exactly this solution, but I'm looking for an "official" answer , particularly to adopt a best practice. Thanks a lot for your answer

egucciar commented 6 years ago

This is a common software application pattern so I would recommend to create a jsbin / library for it and we can add it on the website either as an example or feature it on the integrations section.

This is as close to official as you'll get :)

thinw002 commented 6 years ago

@Gildissimo any chance you can share your solution? I'm hoping to create a Kendo UI template for Angular Formly and this would really help me get started. A JSBin or something would be great.