rainlab/builder-plugin

Support for "nestedform" type

ivang76 opened this issue · 3 comments

Actually it's possible to group fields of the forms only with the repeater (maybe setting to max 1 item) but this needs a cta from the user to "add new item" to open and show the fields. Not so nice from a UI point of view, in particulary on complex multisection backend interfaces.

It seems the only form widget of October not yet implemented in OctoberCms is the "nestedform", so as adviced by Luke in the forum (https://octobercms.com/forum/post/nestedform) here I'm to ask if would be possible to add this to a next build.

Eoler commented

Actually it's possible to group fields of the forms only with the repeater (maybe setting to max 1 item) but this needs a cta from the user to "add new item" to open and show the fields. Not so nice from a UI point of view, in particulary on complex multisection backend interfaces.

You have recently added minItems option for nicer UX:
https://octobercms.com/docs/backend/forms#widget-repeater

That's a nice tips @Eoler, thanks, but unfortunately doesn't work if you have multiple repeaters nested the main one and that are activated by triggering states

Added this to the internal tracker for the next iteration of builder.

Thanks Ivan