Categories
CMS Magento Mastering Development

Admin form not pulling through form values when turning collapsible to tabbed form using ui form xml

I’m working on an admin ui form

https://github.com/DominicWatts/Announce/blob/hotfix/tabs/view/adminhtml/ui_component/xigen_announce_group_form.xml

I’ve added tabs

In order to get the tabs working I’ve removed the <item name="template" xsi:type="string">templates/form/collapsible</item> from the XML

My form elements have changed from <input name="name"> to <input name="general[name]">

Which makes sense

However when editing a record the form fields now appear blank. I’ve forgotten a step.

It’s to do with dataScope and chaining

enter image description here

Any suggestion?

Leave a Reply

Your email address will not be published. Required fields are marked *