Open emohamed opened 7 years ago
Thanks for taking this into consideration!
Here's an idea how nested modals could work:
I agree that validation needs to happen on blur for this layout option.
I find this one very important. Since we have a lot of content sections in one complex field (as multiple groups) I would also love to have a modal for adding sections (multiple groups).
The modal could contain Tabs as Categories (e.g. Content, Conversations, Galleries, ...) and then list the sections available. Inspired by Visual Composers backend modals: http://pauple.com/wordpress/wp-content/uploads/2016/05/visual-composer-page-elements.png
This would be killer awesome, but would be nice to have the option for the modal via a method or config option so we could define whether to load in a modal.
@holmar proposed a modal layout for the complex field:
Related discussion: https://github.com/htmlburger/carbon-fields/issues/63#issuecomment-261060467
Potential issues: