Hello, I have a 'select' field
<field name="type" sortOrder="30" formElement="select"> <argument name="data" xsi:type="array"> <item name="config" xsi:type="array"> <item name="value" xsi:type="number">1</item> </item> </argument> <settings> <scopeLabel>[GLOBAL]</scopeLabel> <label translate="true">Type</label> <dataScope>type</dataScope> </settings> <formElements> <select> <settings> <options class="Company\Module\Model\Fields\Source\Types"/>
//
//
return [
['value' => 'text', 'label' => __('Text')],
['value' => 'othertext', 'label' => __('othertext')],
];
//
// </settings> </select> </formElements> </field>
and bellow are dynamic rows
please, tell me how to hide dynamic rows if I chose "Othertext".
for several days now I cant find the answer. Thank so much
Solved! Go to Solution.
Check this link
Hope this helps you!
Problem Solved! Click Kudos & Accept as Solution!
Check this link
Hope this helps you!
Problem Solved! Click Kudos & Accept as Solution!