Skip to content

Commit 9eb47b4

Browse files
committed
set error with correct validity state flag
1 parent 7768b97 commit 9eb47b4

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
@@ -217,7 +217,7 @@ export const FormControlMixin = <T extends Constructor<LitElement>>(
217217
*/
218218
protected setCustomValidity(message: string) {
219219
this._internals.setValidity(
220-
'customError',
220+
{ customError: true },
221221
message,
222222
this.getFormElement()
223223
);

0 commit comments

Comments
 (0)