How to get contact us email from get category content tab form select drop down attribute in Magento 2.3.1
form_select category custom attribute how to get contact us from there.
app/code/Vendor/Module/Setup/InstallData.php
$eavSetup->addAttribute(\Magento\Catalog\Model\Category::ENTITY, 'form_select', [
'type' => 'int',
'label' => 'Form Select',
'input' => 'select',
'sort_order' => 130,
'source' => Template::class,
'global' => ScopedAttributeInterface::SCOPE_STORE,
'visible' => true,
'required' => false,
'user_defined' => false,
'default' => '1',
'group' => 'Content',
]);
app/code/Vendor/Module/view/adminhtml/ui_component/category_form.xml
<field name="form_select">
<argument name="data" xsi:type="array">
<item name="options" xsi:type="object">Vendor\Module\Model\Source\Template</item>
<item name="config" xsi:type="array">
<item name="required" xsi:type="boolean">false</item>
<item name="validation" xsi:type="array">
<item name="required-entry" xsi:type="boolean">false</item>
</item>
<item name="sortOrder" xsi:type="number">90</item>
<item name="dataType" xsi:type="string">string</item>
<item name="formElement" xsi:type="string">select</item>
<item name="label" translate="true" xsi:type="string">Form Select</item>
</item>
</argument>
</field>