-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Description
Feature request:
We are using datepicker and daterangepicker components in our application and need to have footer with custom dates ( or actions buttons ) in it. It seems like someone started on similar functionality but did not get time to finish it. We would to add this functionality.
At existing file 'bs-datepicker-view.html' and following code snippet
<div class="bs-datepicker-buttons" *ngIf="false">
<button class="btn btn-success">Apply</button>
<button class="btn btn-default">Cancel</button>
</div>
We would like to change it something like this
<div class="bs-datepicker-buttons" *ngIf="showCustomFooter">
<button class="btn btn-default" *ngFor="let item of items" (click) = onItemSection(item)">{{
item.label }}</button>
</div>
This will enable us to have custom footer and implements own functionality on click of these buttons.
Please see attachment for screenshots
Versions of ngx-bootstrap, Angular, and Bootstrap:
ngx-bootstrap: 3.0.1
Angular: 5 and 6
Bootstrap: 4.1.1
Build system: Angular CLI, System.js, webpack, starter seed:
charlesc32 and prinju-experion

