2

I have to remove this Search By Keyword box in customer grid. I overrided the customer_listing.xml but I dont know the syntax to disable it.

<filterSearch name="fulltext"/>

Do anyone have idea how to disable this

2 Answers 2

1

You can disable the fulltext search using the following code

<filterSearch name="fulltext">
    <argument name="data" xsi:type="array">
        <item name="config" xsi:type="array">
            <item name="componentDisabled" xsi:type="boolean">true</item>
        </item>
    </argument>
</filterSearch>

Just put it your ui_component XML file to make it done.

0

You can use componentDisabled

Exactly been asked here: How to override to remove/comment a line in customer_listing.xml in Magento 2

If the only purpose is to hide it, you can use CSS, it's much easier.

Your Answer

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

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