diff --git a/resources/js/components/Form.js b/resources/js/components/Form.js index c7c8b0ad..059f26b2 100644 --- a/resources/js/components/Form.js +++ b/resources/js/components/Form.js @@ -11,6 +11,7 @@ class Form { */ constructor (data = {}) { this.isBusy = false + this.isDisabled = false // this.successful = false this.errors = new Errors() // this.originalData = deepCopy(data) @@ -268,6 +269,6 @@ class Form { Form.routes = {} Form.errorMessage = 'Something went wrong. Please try again.' -Form.ignore = ['isBusy', /*'successful'*/, 'errors', 'originalData'] +Form.ignore = ['isBusy', 'isDisabled', 'errors', 'originalData'] export default Form diff --git a/resources/js/components/FormButtons.vue b/resources/js/components/FormButtons.vue index e231ccd3..472caa50 100644 --- a/resources/js/components/FormButtons.vue +++ b/resources/js/components/FormButtons.vue @@ -1,7 +1,7 @@