JustMaier / angular-autoFields-bootstrap

Automatically generate fields from a schema object and bind them to an object
MIT License
208 stars 42 forks source link

Breeze (question) #22

Open DevInstinct opened 9 years ago

DevInstinct commented 9 years ago

Hi, if it is possible, do you have any sample of an integration of Breeze entities and validations with AutoFields? Thanks

JustMaier commented 9 years ago

I haven't personally worked with Breeze entities so unfortunately I'm afraid I can't help you here. I'll leave this tagged as a question to see if anyone else can help you out.

If you find a solution be sure to post it here. I'd like to add it to a Wiki page

Iain-Stevenson commented 9 years ago

This triggered a thought. An adapter to leverage Breezes' entity metadata should make using this and breeze, just that, plus it would vastly reduce coding on a large project.

I'm too new to both projects to know if this is possible, practical, or desirable by anyone else.

The other thought that hit me is, and applies to my own project, is having and easily created range of field layouts, the one for editing which comes out of the box, and others for read only in horizontally or vertically oriented and custom layouts, with/wo field names.

I'm guessing at this stage that may be do able with $autofieldsProvider.registerHandler but to my confused brain, that could get messy pretty quickly.