Hide Custom Customer Attribute in Customer Account Information Section from Admin Panel

Step 1: Create customer_form.xml in the below path

app\code\Vendor\Extension\view\base\ui_component\

And add the below code

<?xml version=”1.0″ encoding=”UTF-8″?>

<form xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”urn:magento:module:Magento_Ui:etc/ui_configuration.xsd”>

        <fieldset name=”customer”>

    <field name=”your_attribute_name”>

   <settings>

       <visible>false</visible>

   </settings>

    </field>

</fieldset>

</form>

Leave a comment

Your email address will not be published. Required fields are marked *