I am using switcherconfig to show/hide the field but it is not working at all not i getting any error
<field name="contacted">
<argument name="data" xsi:type="array">
<item name="options" xsi:type="object">FMEHairFormulaModelConfigSourceStatus</item>
<item name="config" xsi:type="array">
<item name="dataType" xsi:type="string">text</item>
<item name="label" translate="true" xsi:type="string">Contacted</item>
<item name="formElement" xsi:type="string">select</item>
<!-- <item name="source" xsi:type="string">hairforadmin</item> -->
<item name="sortOrder" xsi:type="number">60</item>
<item name="dataScope" xsi:type="string">contacted</item>
<item name="validation" xsi:type="array">
<item name="required-entry" xsi:type="boolean">true</item>
</item>
<item name="switcherConfig" xsi:type="array">
<item name="enabled" xsi:type="boolean">true</item>
<item name="rules" xsi:type="array">
<item name="0" xsi:type="array">
<item name="value" xsi:type="string">Yes</item>
<item name="actions" xsi:type="array">
<item name="0" xsi:type="array">
<item name="target" xsi:type="string">hairforadmin_formula_form.hairforadmin_formula_form.general.field1</item>
<item name="callback" xsi:type="string">show</item>
</item>
</item>
</item>
<item name="1" xsi:type="array">
<item name="value" xsi:type="string">No</item>
<item name="actions" xsi:type="array">
<item name="0" xsi:type="array">
<item name="target" xsi:type="string">hairforadmin_formula_form.hairforadmin_formula_form.general.field1</item>
<item name="callback" xsi:type="string">hide</item>
</item>
</item>
</item>
</item>
</item>
</item>
</argument>
</field>
<field name="field1">
<argument name="data" xsi:type="array">
<item name="config" xsi:type="array">
<item name="label" xsi:type="string" translate="true"> Field1 </item>
<item name="dataType" xsi:type="string">text</item>
<item name="formElement" xsi:type="string">input</item>
<item name="dataScope" xsi:type="string">field1</item>
<item name="validation" xsi:type="array">
<item name="required-entry" xsi:type="boolean">true</item>
<item name="alphanumeric" xsi:type="boolean">true</item>
<item name="min_text_length" xsi:type="number">3</item>
</item>
</item>
</argument>
</field>
Any kind of help will be appreciated, Thanks in Advance !!