mirror of https://github.com/vector-im/riot-web
Merge pull request #6918 from VFermat/fix-19316
Validate that the phone number verification field is filled before allowing user to submitpull/21833/head
commit
fe79a95731
|
@ -268,7 +268,7 @@ export default class PhoneNumbers extends React.Component<IProps, IState> {
|
|||
<AccessibleButton
|
||||
onClick={this.onContinueClick}
|
||||
kind="primary"
|
||||
disabled={this.state.continueDisabled}
|
||||
disabled={this.state.continueDisabled || this.state.newPhoneNumberCode.length === 0}
|
||||
>
|
||||
{ _t("Continue") }
|
||||
</AccessibleButton>
|
||||
|
|
Loading…
Reference in New Issue