File tree 2 files changed +5
-4
lines changed
2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 1
1
import { Directive , NgModule , forwardRef } from "@angular/core" ;
2
2
import { FormsModule , NG_VALUE_ACCESSOR } from "@angular/forms" ;
3
3
import { registerElement } from "nativescript-angular" ;
4
+ import { NativeScriptFormsModule } from "nativescript-angular/forms" ;
4
5
import { TextValueAccessor } from "nativescript-angular/forms/value-accessors/text-value-accessor" ;
5
6
6
7
registerElement ( "MaskedTextField" , ( ) => require ( "../masked-text-field" ) . MaskedTextField ) ;
@@ -36,12 +37,12 @@ export class MaskedTextValueAccessor extends TextValueAccessor {
36
37
37
38
@NgModule ( {
38
39
declarations : [
39
- MaskedTextValueAccessor ,
40
- TextValueAccessor
40
+ MaskedTextValueAccessor
41
41
] ,
42
42
providers : [ ] ,
43
43
imports : [
44
- FormsModule
44
+ FormsModule ,
45
+ NativeScriptFormsModule
45
46
] ,
46
47
exports : [
47
48
FormsModule ,
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " nativescript-masked-text-field" ,
3
- "version" : " 2.0.0 " ,
3
+ "version" : " 2.0.1 " ,
4
4
"description" : " A NativeScript masked text field widget." ,
5
5
"main" : " masked-text-field" ,
6
6
"typings" : " masked-text-field.d.ts" ,
You can’t perform that action at this time.
0 commit comments