1

I try it but not working. everyone can help me plz! enter image description here

0

If you are using magento2.3.1 need to change your filed component code in xml file like below

           <field name="sort_order" formElement="input">
                <argument name="data" xsi:type="array">
                    <item name="config" xsi:type="array">
                        <item name="source" xsi:type="string">page</item>
                    </item>
                </argument>
                <settings>
                    <validation>
                        <rule name="required-entry" xsi:type="boolean">true</rule>
                    </validation>
                    <dataType>text</dataType>
                    <label translate="true">Sort Order</label>
                    <dataScope>sort_order</dataScope>
                     <imports>
                        <link name="disabled">${ $.provider}:data.do_we_hide_it</link>
                    </imports>
                </settings>
            </field>
  • your dataProvider code will remain same... just change your filed code like above – Rutvee Sojitra May 24 '19 at 4:30
  • Thank you very much <3 – NewBie May 24 '19 at 4:57
  • Do you know hidden fieldset ? – NewBie May 24 '19 at 6:10
  • @NewBie means? what is your requirement? – Rutvee Sojitra May 24 '19 at 6:12
  • I want hide tab in form ui components. – NewBie May 24 '19 at 6:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.