Skip to content

Re-enable Add button on submit error [B: 1805]#585

Open
Oliver-ctrlo wants to merge 2 commits intoctrlo:devfrom
Oliver-ctrlo:patch-3
Open

Re-enable Add button on submit error [B: 1805]#585
Oliver-ctrlo wants to merge 2 commits intoctrlo:devfrom
Oliver-ctrlo:patch-3

Conversation

@Oliver-ctrlo
Copy link
Contributor

Added a public setter to enable or disable the submit button.
Then included this in the modal submit error to unset the Disabled status of the button.

Added a public method to enable and disable the submit button to allow the button to be reset on error.
Imported submit-button so the disable flag can be changed by calling setDisabled, re-enabling the submit button on a failed save /  error.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant