I have tried to override the form validation for telephone
which added in core file vendor\magento\module-customer\view\base\ui_component\customer_form.xml
as follow:
<field name="telephone">
<argument name="data" xsi:type="array">
<item name="config" xsi:type="array">
<item name="dataType" xsi:type="string">text</item>
<item name="formElement" xsi:type="string">input</item>
<item name="source" xsi:type="string">address</item>
<item name="validation" xsi:type="array">
<item name="required-entry" xsi:type="boolean">true</item>
</item>
</item>
</argument>
</field>
Tried to override this file in local module and changed the line
<item name="required-entry" xsi:type="boolean">false</item>
This remove only the mandatory (*) mark from address form for telephone number but the validation remain same.
If you removed the complete entry from base file (vendor\magento\module-customer\view\base\ui_component\customer_form.xml
) then complete validation get also removed. anyone know how we can override the form config validation using local module?