Skip to content

Commit

Permalink
chore: ssr problem in editor demo (#7023)
Browse files Browse the repository at this point in the history
  • Loading branch information
splincode authored Mar 19, 2024
1 parent 9245d8b commit 7d00e9e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export class TuiNativeValidatorDirective implements Validator {

@HostListener('blur')
protected handleValidation(): void {
this.el.setCustomValidity(
this.el.setCustomValidity?.(
this.control?.touched && this.control?.invalid ? this.tuiNativeValidator : '',
);
}
Expand Down

0 comments on commit 7d00e9e

Please sign in to comment.