Function showForm (which shows attached popup view) works only if called from top menu - see “Delete Node” in the menu.
If the same function is called from submenu then the popup form is never shown, see “Delete from submenu”
Another problem is that if I attach popup form as a submenu then I can’t actually click anything there as it is disappearing before I can hit the button. See “Actions\Delete node”
So how can I show an attached popup from submenu and add form as a submenu?
(1, 2) Popup is actually shown both times, but the second one is hidden immediately, as a click occurs outside this popup and Webix popups are hidden when users clicks elsewhere. This cannot be redefined.
But you can wrap showForm call into webix.delay function to let click event and popup live their own lives.
So, in both cases forms will be shown, but note that this points to a menu (not submenu you click) so they will be attached to a menu node.