Skip to content

Commit ada0409

Browse files
committed
note for my self.
1 parent 762afec commit ada0409

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,7 @@ export const FormControlMixin = <T extends Constructor<LitElement>>(
222222
this._removeFormListeners();
223223
this._form = this._internals.form;
224224
if (this._form) {
225+
// TODO: How can we ensure that we can know about this state without a Form Component?
225226
if (this._form.hasAttribute('invalid-submit')) {
226227
this.pristine = false;
227228
}

0 commit comments

Comments
 (0)