UI-Designer: Allow multiple children for Dialog component
UI-Designer: Enable multiple immediate children for Dialog-based components
In UI-Designer, only one Element can be added to a Components that extend (Vaadin-)Dialog as (immediate)-child.
If Dialog-based component somehow gets more than a single child, the UI-Designer is empty. (e.g. by duplicating the first child component).
None of the child components are visible.
Enable adding more than one child to Dialog-based components by drag/drop
Show child Components in DesignerUI when there is more than one child
As "Dialog" implements "com.vaadin.flow.component.HasComponents" it is basically able to hold multiple (immediate) children.
If you want multiple children in a dialog, simply add a layout first.
Assumed we implement this feature, how should multiple children be layouted in the dialog? The DnD handling for this would be very tricky, since there is no defined layout in dialog per default. So a lot of effort for hardly any benefit.