Skip to content

Validate that the phone number verification field is filled before allowing user to submit #19316

@kittykat

Description

@kittykat

Steps to reproduce

  1. Go to settings
  2. Under Phone numbers, enter a valid phone number and press "Add"
    -> Can press Continue without entering a Verification code

Expected result

The Verification code text entry has content before the button is clickable so when the field is empty, the button should be greyed out.

Since the verification code is generated by the identity server, we can't validate the input any further than that there's something in the field.

Screenshot from 2021-10-07 10-16-25

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-3PIDsA-User-SettingsHacktoberfestIssues which are suitable for Hacktoberfest PRs: https://hacktoberfest.digitalocean.com/O-OccasionalAffects or can be seen by some users regularly or most users rarelyS-MinorImpairs non-critical functionality or suitable workarounds existT-Defectgood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions