codefog / contao-haste

Haste is a collection of tools and classes to ease working with Contao
http://codefog.pl/extension/haste.html
MIT License
43 stars 24 forks source link

Support adding dca fields from a palette #108

Closed dmolineus closed 5 years ago

dmolineus commented 7 years ago

I often use a custom palette in my dca to define the frontend form palette. It would be nice if Haste would support it out of the box to get the dca fields from a dca palette. Each legend would be rendered as a fieldset.

$form->addFieldsFromDcaPalette($table, $palette, $callback);

If you agree to add it I would prepare a PR for it.

qzminski commented 7 years ago

Sure, go ahead!

zonky2 commented 6 years ago

@dmolineus PR? ;-)

dmolineus commented 6 years ago

@zonky2 It's on my todo list.

qzminski commented 6 years ago

Any news on this @dmolineus ?