Skip to content

Commit

Permalink
Fix submit button state handling
Browse files Browse the repository at this point in the history
  • Loading branch information
lyyder committed Jul 9, 2018
1 parent 7ada1d9 commit 5517743
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ way to update this template, but currently, we follow a pattern:

## Upcoming version

* [fix] Fix submit button state on contact details page
[#864](https://github.com/sharetribe/flex-template-web/pull/864)
* [fix] Fix initial message input clearing too early in checkout page.
[#861](https://github.com/sharetribe/flex-template-web/pull/861)
* [fix] Fix setting Topbar search input initial value.
Expand Down
3 changes: 1 addition & 2 deletions src/forms/ContactDetailsForm/ContactDetailsForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ class ContactDetailsFormComponent extends Component {
inProgress,
intl,
invalid,
ready,
sendVerificationEmailError,
sendVerificationEmailInProgress,
values,
Expand Down Expand Up @@ -320,7 +319,7 @@ class ContactDetailsFormComponent extends Component {
className={css.submitButton}
type="submit"
inProgress={inProgress}
ready={ready}
ready={pristineSinceLastSubmit}
disabled={submitDisabled}
>
<FormattedMessage id="ContactDetailsForm.saveChanges" />
Expand Down

0 comments on commit 5517743

Please sign in to comment.