Skip to content

Magento 2: How can I hide the customer custom attribute from backend customer create and edit from if the value is null?

How can I hide the customer custom attribute if the value is null?

Ultimately I want to show this field on edit if it is not null and I don’t want to show this field when we create a new customer