Skip to content

Commit 08b9ef1

Browse files
committed
fix(associated): Run update regardless of form submit state
1 parent 50c40bd commit 08b9ef1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/common/mixins/forms/associated.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,9 +165,9 @@ function BaseFormAssociated<T extends Constructor<LitElement>>(base: T) {
165165
}
166166

167167
this._setInvalidStyles();
168+
this.requestUpdate();
168169

169170
if (this._isFormSubmit) {
170-
this.requestUpdate();
171171
await this.updateComplete;
172172
this._isFormSubmit = false;
173173
}

0 commit comments

Comments
 (0)