You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-08-10 19:43:07 +03:00
Merge pull request #6918 from VFermat/fix-19316
Validate that the phone number verification field is filled before allowing user to submit
This commit is contained in:
@@ -268,7 +268,7 @@ export default class PhoneNumbers extends React.Component<IProps, IState> {
|
|||||||
<AccessibleButton
|
<AccessibleButton
|
||||||
onClick={this.onContinueClick}
|
onClick={this.onContinueClick}
|
||||||
kind="primary"
|
kind="primary"
|
||||||
disabled={this.state.continueDisabled}
|
disabled={this.state.continueDisabled || this.state.newPhoneNumberCode.length === 0}
|
||||||
>
|
>
|
||||||
{ _t("Continue") }
|
{ _t("Continue") }
|
||||||
</AccessibleButton>
|
</AccessibleButton>
|
||||||
|
Reference in New Issue
Block a user