Skip to content

Commit

Permalink
Do not reset number on country change
Browse files Browse the repository at this point in the history
  • Loading branch information
thomtrp committed Jan 2, 2025
1 parent 5b6c52c commit 4fcca5b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export const FormPhoneFieldInput = ({
onPersist({
primaryPhoneCountryCode: newCountry,
primaryPhoneCallingCode: newCallingCode,
primaryPhoneNumber: '',
primaryPhoneNumber: defaultValue?.primaryPhoneNumber || '',
});
};

Expand Down

0 comments on commit 4fcca5b

Please sign in to comment.