-
Notifications
You must be signed in to change notification settings - Fork 29
Description
Hello, I am having problems trying to use the SelectDateComponent as a modal.
Every time I tapped into <TextField [text]="page.BirthDate | date:'shortDate'" class="input" editable="false" (tap)="onBirthDateTap()" hint="Enter a birth date..."> via onBirthDateTap() the modal won't open and the following error appears on the console.
JS ERROR TypeError: value.getFullYear is not a function. (In 'value.getFullYear()', 'value.getFullYear' is undefined)
My setup:
Component │ Current version │ Latest version │ Information │
│ nativescript │ 3.4.1 │ 3.4.1 │ Up to date │
│ tns-core-modules │ 3.4.0 │ 3.4.0 │ Up to date │
│ tns-android │ │ 3.4.1 │ Not installed │
│ tns-ios │ 3.4.1 │ 3.4.1 │ Up to date