Skip to content

Commit 0a2cc53

Browse files
authored
fix: fix onblur config issue (#76)
1 parent 5892c75 commit 0a2cc53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/ngneat/error-tailor/src/lib/control-error.directive.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ export class ControlErrorsDirective implements OnInit, OnDestroy {
213213

214214
controlErrorsOn: {
215215
async: this.controlErrorsOnAsync ?? this.config.controlErrorsOn?.async ?? true,
216-
blur: this.controlErrorsOnAsync ?? this.config.controlErrorsOn?.blur ?? true,
216+
blur: this.controlErrorsOnBlur ?? this.config.controlErrorsOn?.blur ?? true,
217217
change: this.controlErrorsOnChange ?? this.config.controlErrorsOn?.change ?? false
218218
}
219219
};

0 commit comments

Comments
 (0)