Merge branch 'bugfix/yasi_fixed_login_code' into 'develop'
This commit is contained in:
@@ -98,7 +98,20 @@ const SendTokenComponent = ({
|
||||
placeholder={t(
|
||||
"LoginPage.text_field_enter_your_verification_code"
|
||||
)}
|
||||
type={"text"}
|
||||
value={props.values.verification_code}
|
||||
type={"tel"}
|
||||
onChange={(event) => {
|
||||
const inputValue = event.target.value;
|
||||
if (isNaN(Number(inputValue))) {
|
||||
return;
|
||||
}
|
||||
props.handleChange({
|
||||
target: {
|
||||
name: "verification_code",
|
||||
value: inputValue,
|
||||
},
|
||||
});
|
||||
}}
|
||||
error={
|
||||
!!(props.touched.verification_code && props.errors.verification_code)
|
||||
}
|
||||
|
||||
@@ -81,6 +81,7 @@ const SendUserDataComponent = ({
|
||||
placeholder={t(
|
||||
"LoginPage.text_field_enter_your_phone_number"
|
||||
)}
|
||||
value={props.values.phone_number}
|
||||
type={"tel"}
|
||||
onChange={(event) => {
|
||||
const inputValue = event.target.value;
|
||||
|
||||
Reference in New Issue
Block a user