fix: emits for FormSelect and PhoneInput component (#10226)

This commit is contained in:
Shivam Mishra
2024-10-04 15:09:42 +05:30
committed by GitHub
parent 83100b8f60
commit bd88bfb0fe
3 changed files with 14 additions and 17 deletions

View File

@@ -201,9 +201,6 @@ export default {
}
return contactObject;
},
onPhoneNumberInputChange(value, code) {
this.activeDialCode = code;
},
setPhoneCode(code) {
if (this.phoneNumber !== '' && this.parsePhoneNumber) {
const dialCode = this.parsePhoneNumber.countryCallingCode;
@@ -336,7 +333,6 @@ export default {
:value="phoneNumber"
:error="isPhoneNumberNotValid"
:placeholder="$t('CONTACT_FORM.FORM.PHONE_NUMBER.PLACEHOLDER')"
@input="onPhoneNumberInputChange"
@blur="v$.phoneNumber.$touch"
@set-code="setPhoneCode"
/>