since I updated from Magento 2.3.7 to 2.4.5-p1 I’m getting some errors with some xml layouts.
On one of my XML files where I had
<item name="template" xsi:type="string">ui/form/field</item>
now is throwing an error [ERROR] Failed to load the "ui/form/field" template requested by
.
<item name="name" xsi:type="array">
<item name="component" xsi:type="string">Magento_Ui/js/form/element/abstract</item>
<item name="config" xsi:type="array">
<item name="customScope" xsi:type="string">XXX</item>
<item name="template" xsi:type="string">ui/form/field</item>
<item name="elementTmpl" xsi:type="string">My_Module/element/input</item>
</item>
<item name="dataScope" xsi:type="string">XXX.name</item>
<item name="label" xsi:type="string" translate="true">First name</item>
<item name="placeholder" xsi:type="string" translate="true">Name</item>
<item name="autocomplete" xsi:type="string">given-name</item>
<item name="sortOrder" xsi:type="string">10</item>
<item name="provider" xsi:type="string">XXX</item>
<item name="validation" xsi:type="array">
<item name="required-entry" xsi:type="boolean">true</item>
</item>
</item>
This was working before the upgrade so I can imagine there’s something I’m missing with +2.4.
Thanks