kekeh / angular-mydatepicker

Angular datepicker and date range picker :date:
https://kekeh.github.io/angular-mydatepicker/
MIT License
1 stars 11 forks source link

Angular-mydatepicker calendar month left and right icon not showing. #2

Open Rakesh153 opened 5 years ago

Rakesh153 commented 5 years ago

hello @kekeh ,

i am using your angular-mydatepicker this package but month left and right icon not showing. can you please help out how to to fixed that issue.

i already tried below css but it's not working. .mydp .icon:before { font-family: angular-mydatepicker !important; }

Capture

Rakesh153 commented 5 years ago

below is another issue . this datepicker also not working. i don't want another button for open datepicker. on click on input textbox open datepicker.

<input type="text" name="mydate" angular-mydatepicker [options]="myOptions"

dp="angular-mydatepicker"

    (click)="dp.toggleCalendar();"
    (dateChanged)="onDateChanged($event)"/>
kekeh commented 5 years ago

It is possible to open calendar by input click. Here is example: https://kekeh.github.io/angular-mydatepicker/

And same code: https://github.com/kekeh/angular-mydatepicker/blob/gh-pages/src/app/no-bootstrap/no-bootstrap.component.html

It it your decision to add extra buttons or use datepicker without extra buttons.

kekeh commented 5 years ago

You can try this:

.myDpIcon:before { 
    font-family: angular-mydatepicker !important; 
}

Similar issue: https://github.com/kekeh/ngx-mydatepicker/issues/148

Rakesh153 commented 5 years ago

@kekeh thank you so much for instant reply. this solution is working fine. Thanks once again