Merge pull request #6918 from VFermat/fix-19316

Validate that the phone number verification field is filled before allowing user to submit
pull/21833/head
James Salter 2021-10-08 14:12:28 +01:00 committed by GitHub
commit fe79a95731
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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>