Skip to content
This repository has been archived by the owner on Oct 5, 2019. It is now read-only.

datepicker-dropdown appears empty #221

Open
rsryanstephen opened this issue Feb 4, 2019 · 1 comment
Open

datepicker-dropdown appears empty #221

rsryanstephen opened this issue Feb 4, 2019 · 1 comment

Comments

@rsryanstephen
Copy link

rsryanstephen commented Feb 4, 2019

Hi,
when using this component the dropdown appears empty as pictured below.

My set-up is as follows:
image

HTML:
<datetime [timepicker]="false" [datepicker]="datepickerOptsFrom" [(ngModel)]="dateRange.From" [ngModelOptions]="{standalone: true}">

TypeScript:
public dateRange: DateRange = {From: new Date(), To: new Date()};

datepickerOptsFrom = {
startDate: new Date(),
autoclose: true,
todayBtn: 'linked',
todayHighlight: true,
assumeNearbyYear: true,
format: 'MM yyyy',
placeholder: 'From: '
};

image

@rsryanstephen
Copy link
Author

rsryanstephen commented Feb 4, 2019

Environment:
Angular 6 application
in package.json:

    "jquery": "^3.3.1",
    "@types/jquery": "^3.3.29",
    "jquery-ui": "^1.12.1",
    "bootstrap": "^3.4.0",
    "bootstrap-datepicker": "^1.8.0",
    "ng2-datetime": "^1.4.0",

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant