Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

In forgot password screen, show validation errors inline in the form, instead of in modals #7113

Merged

Commits on Nov 11, 2021

  1. Customise error messages

    Signed-off-by: Paulo Pinto <paulo.pinto@automattic.com>
    psrpinto committed Nov 11, 2021
    Configuration menu
    Copy the full SHA
    e647728 View commit details
    Browse the repository at this point in the history
  2. Add enum for form fields

    Signed-off-by: Paulo Pinto <paulo.pinto@automattic.com>
    psrpinto committed Nov 11, 2021
    Configuration menu
    Copy the full SHA
    61c18fd View commit details
    Browse the repository at this point in the history
  3. Extract validation logic to a function

    Signed-off-by: Paulo Pinto <paulo.pinto@automattic.com>
    psrpinto committed Nov 11, 2021
    Configuration menu
    Copy the full SHA
    75282fe View commit details
    Browse the repository at this point in the history
  4. Focus on the first invalid field

    Signed-off-by: Paulo Pinto <paulo.pinto@automattic.com>
    psrpinto committed Nov 11, 2021
    Configuration menu
    Copy the full SHA
    d271e27 View commit details
    Browse the repository at this point in the history
  5. Make onValidate prop optional

    Signed-off-by: Paulo Pinto <paulo.pinto@automattic.com>
    psrpinto committed Nov 11, 2021
    Configuration menu
    Copy the full SHA
    2b43ec0 View commit details
    Browse the repository at this point in the history
  6. Remove no longer used code for email and password validation

    Signed-off-by: Paulo Pinto <paulo.pinto@automattic.com>
    psrpinto committed Nov 11, 2021
    Configuration menu
    Copy the full SHA
    090ac28 View commit details
    Browse the repository at this point in the history
  7. Use PassphraseConfirmField

    For the validation
    
    Signed-off-by: Paulo Pinto <paulo.pinto@automattic.com>
    psrpinto committed Nov 11, 2021
    Configuration menu
    Copy the full SHA
    360a2b4 View commit details
    Browse the repository at this point in the history
  8. Remove no longer used code for password confirmation validation

    Signed-off-by: Paulo Pinto <paulo.pinto@automattic.com>
    psrpinto committed Nov 11, 2021
    Configuration menu
    Copy the full SHA
    4da90b8 View commit details
    Browse the repository at this point in the history
  9. Update translations

    Signed-off-by: Paulo Pinto <paulo.pinto@automattic.com>
    psrpinto committed Nov 11, 2021
    Configuration menu
    Copy the full SHA
    a6c89b3 View commit details
    Browse the repository at this point in the history