1

In UI components, what's the difference between setting template and elementTmpl in a component's <config/> node?

<item name="config" xsi:type="array">
    <item name="template" xsi:type="string">ui/form/field</item>
    <item name="elementTmpl" xsi:type="string">ui/form/element/select</item>
</item>
1

template : It means path of the .html template of the particular type of field to generate field.

elementTmpl : It means path of .html template of the particular type of field (select,text,textarea etc.)

Reference

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.