Skip to content

Commit dc5ef15

Browse files
committed
added + sign
1 parent 0dbb8ac commit dc5ef15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/Formsy/PhoneInput.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ class PhoneInput extends Component {
6262

6363
if (asYouTypeTmp.countryCallingCode) {
6464
this.setState({ currentCountry: country })
65-
this.changeValue({ target: { value: `${asYouTypeTmp.countryCallingCode}${phoneNumber}` } })
65+
this.changeValue({ target: { value: `+${asYouTypeTmp.countryCallingCode}${phoneNumber}` } })
6666
}
6767
}
6868
}

0 commit comments

Comments
 (0)