Skip to content

Commit 86cb1dc

Browse files
committed
fix(forms): Changed the TextValueAccessor to apply ng-touched on blur
See NativeScript#1230
1 parent fc04caf commit 86cb1dc

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)