Skip to content

Commit eb1a7f0

Browse files
authored
refactor: value accessors' cleanup (NativeScript#1451)
1 parent 82747df commit eb1a7f0

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

nativescript-angular/forms/value-accessors/checked-value-accessor.ts

-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ const CHECKED_VALUE_ACCESSOR = {
2424
"switch[ngModel],switch[formControlName],switch[formControl]",
2525
providers: [CHECKED_VALUE_ACCESSOR],
2626
host: {
27-
"(touch)": "onTouched()",
2827
"(checkedChange)": "onChange($event.value)",
2928
},
3029
})

nativescript-angular/forms/value-accessors/time-value-accessor.ts

-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ const TIME_VALUE_ACCESSOR = {
2626
"time-picker[ngModel],time-picker[formControlName],time-picker[formControl]",
2727
providers: [TIME_VALUE_ACCESSOR],
2828
host: {
29-
"(touch)": "onTouched()",
3029
"(timeChange)": "onChange($event.value)",
3130
},
3231
})

0 commit comments

Comments
 (0)