How can i remove the Magento default form ui component. Such as is in the image which is for the Marketing -> cart price rule -> [select already created rule] -> Schedule New Updates
I want to remove the Rule information, Conditions, Actions, Labels Top Banner, After Product Description Banner, Product Label
As you can see it have some extra ui_components as compare to the default Magento EE. It is because of Amasty_Promo module. So i would like to remove it.


For it according to the layout handler create a file in your custom module. In this case it is
NameSpace/YourModule/view/adminhtml/ui_component/salesrulestaging_update_form.xmlwith the following content:
such as for
rule_informationit will be like this:And make sure
<argument>will be the first child of the component.