Skip to content

Commit

Permalink
fix(@aws-amplify/ui-components): Handle loading in signUp & confirmSi…
Browse files Browse the repository at this point in the history
…gnup (aws-amplify#7189)

- passing loading to form in amplify-confirm-sign-up
- setting loading when signing up and disabling submit button in amplify-sign-up
aws-amplify#7032

Co-authored-by: Mahsa Maslahati <[email protected]>
Co-authored-by: Sam Martinez <[email protected]>
Co-authored-by: William Lee <[email protected]>
  • Loading branch information
4 people authored Jun 22, 2021
1 parent a5f2466 commit 988a29b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,7 @@ export class AmplifySignUp {
<amplify-button
type="submit"
data-test="sign-up-create-account-button"
disabled={this.loading}
>
{this.loading ? (
<amplify-loading-spinner />
Expand Down

0 comments on commit 988a29b

Please sign in to comment.