I need to display a non-editable field in Magento 2.1 Admin grid. so i tried to use :
<field name="type">
<argument name="data" xsi:type="array">
<item name="config" xsi:type="array">
<item name="dataType" xsi:type="string">text</item>
<item name="label" translate="true" xsi:type="string">type</item>
<item name="formElement" xsi:type="string">label</item>
<item name="source" xsi:type="string">Order</item>
<item name="sortOrder" xsi:type="number">110</item>
<item name="dataScope" xsi:type="string">type</item>
</item>
</item>
</argument>
</field>
but i'm getting the following error:
a:4:{i:0;s:94:"The requested component ("label") is not found. Before using, you must add the implementation.";i:1;s:7394:"#0 /var/www/magento /vendor/magento/module-ui/Model/Manager.php(207): Magento\Framework\View\Element\UiComponent\Config\Provider\Component\Definition->getComponentData('label')
note: i'm aware about :
<item name="disabled" xsi:type="boolean">true</item>
but this will just show an inout field as disabled , where i want to show a plain text
any advice?