Do not reset number on country change (#9329)

As title
This commit is contained in:
Thomas Trompette
2025-01-02 19:10:22 +01:00
committed by GitHub
parent 5b6c52c64b
commit 0674388426

View File

@ -28,7 +28,7 @@ export const FormPhoneFieldInput = ({
onPersist({
primaryPhoneCountryCode: newCountry,
primaryPhoneCallingCode: newCallingCode,
primaryPhoneNumber: '',
primaryPhoneNumber: defaultValue?.primaryPhoneNumber || '',
});
};