Skip to content

Commit 06ca3a0

Browse files
vultixmanoldonev
authored andcommitted
fix(forms): TextValueAccessor raises onTouched on blur. (#1230)
1 parent 21010a0 commit 06ca3a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: nativescript-angular/forms/value-accessors/text-value-accessor.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export type TextView = {text: string} & View;
3838
"search-bar[ngModel], search-bar[formControlName],search-bar[formControl]",
3939
providers: [TEXT_VALUE_ACCESSOR],
4040
host: {
41-
"(touch)": "onTouched()",
41+
"(blur)": "onTouched()",
4242
"(textChange)": "onChange($event.value)",
4343
},
4444
})

0 commit comments

Comments
 (0)