4

Doe anyone know at all if possible to have expression to evaluate a value in rules E.G :

<switcherConfig>
   <rules>
       <rule name="0">
         <value>EXPRESSION HERE</value>
         <actions>
           <action name="0">
               <target>vendor_module_form_edit.vendor_module_form_edit.general.field</target>
               <callback>show</callback>
               </action>
             </actions>
         </rule>
     </rules>
  <enabled>true</enabled>
</switcherConfig>

1 Answer 1

0

Currently the switcher.js does not have any feature for expressions evaluations.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.