@exmg/exm-form 1.1.33 → 1.1.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/exm-form-base.d.ts +4 -0
- package/dist/exm-form-base.js +8 -1
- package/package.json +3 -3
package/dist/exm-form-base.d.ts
CHANGED
package/dist/exm-form-base.js
CHANGED
|
@@ -29,6 +29,10 @@ export class ExmFormBase extends ExmFormDirtyMixin(ExmFormValidateMixin(ExmgElem
|
|
|
29
29
|
* Show reset button
|
|
30
30
|
*/
|
|
31
31
|
this.showResetButton = false;
|
|
32
|
+
/**
|
|
33
|
+
* Disabled the submit,
|
|
34
|
+
*/
|
|
35
|
+
this.disableSubmitButton = false;
|
|
32
36
|
/**
|
|
33
37
|
* Internall used to show button spinner.
|
|
34
38
|
*/
|
|
@@ -134,7 +138,7 @@ export class ExmFormBase extends ExmFormDirtyMixin(ExmFormValidateMixin(ExmgElem
|
|
|
134
138
|
<md-filled-button
|
|
135
139
|
type="button"
|
|
136
140
|
@click=${this.handleSubmit}
|
|
137
|
-
?disabled=${this.submitting || !this.formValid}
|
|
141
|
+
?disabled=${this.disableSubmitButton || this.submitting || !this.formValid}
|
|
138
142
|
?loading=${this.submitting}
|
|
139
143
|
>
|
|
140
144
|
${this.submitBtn}
|
|
@@ -168,6 +172,9 @@ __decorate([
|
|
|
168
172
|
__decorate([
|
|
169
173
|
property({ type: Boolean, attribute: 'show-reset-button' })
|
|
170
174
|
], ExmFormBase.prototype, "showResetButton", void 0);
|
|
175
|
+
__decorate([
|
|
176
|
+
property({ type: Boolean, attribute: 'disable-submit-button' })
|
|
177
|
+
], ExmFormBase.prototype, "disableSubmitButton", void 0);
|
|
171
178
|
__decorate([
|
|
172
179
|
property({ type: Boolean })
|
|
173
180
|
], ExmFormBase.prototype, "submitting", void 0);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exmg/exm-form",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.35",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
},
|
|
32
32
|
"license": "MIT",
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@exmg/exm-button": "^1.1.
|
|
34
|
+
"@exmg/exm-button": "^1.1.35"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
37
|
"lit": "^3.2.1",
|
|
@@ -41,5 +41,5 @@
|
|
|
41
41
|
"publishConfig": {
|
|
42
42
|
"access": "public"
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "1e671cd5dd060b682c8d9bb8c8a519a690c87782"
|
|
45
45
|
}
|