Skip to content

Commit 784ae8e

Browse files
committed
correct misspelling
1 parent b1d1f86 commit 784ae8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/uui-base/lib/mixins/FormControlMixin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ export const FormControlMixin = <T extends Constructor<LitElement>>(
263263
this._form = this._internals.form;
264264
if (this._form) {
265265
// This relies on the form begin a 'uui-form':
266-
if (this._form.hasAttribute('invalid-submit')) {
266+
if (this._form.hasAttribute('submit-invalid')) {
267267
this.pristine = false;
268268
}
269269
this._form.addEventListener('submit', this._onFormSubmit);

0 commit comments

Comments
 (0)