I have seen that this has been asked a couple of times but I cannot get it working in Angular using the bootstrap theme, maybe somebody could help me here?
I would like a clear button that is inside the kendo-datepicker component (see attached image). The code is working correctly, only the CSS/HTML is the problem. Here is the snippet of HTML that I am using:
<div class="row">
<div class="col-sm">
<div class="form-group">
<kendo-label for="actTime">{{customMessageService.translate('formCardActivationTime')}}</kendo-label>
<kendo-datepicker [(ngModel)]="actDate" (valueChange)="onActChange($event)">
</kendo-datepicker>
<button kendoButton fillMode="clear" icon="close" (click)="clearActDate()"></button>
</div>
</div>
<div class="col-sm">
<div class="form-group">
<kendo-label for="dactTime">{{customMessageService.translate('formCardDeactivationTime')}}</kendo-label>
<kendo-datepicker [(ngModel)]="dactDate" (valueChange)="onDactChange($event)">
</kendo-datepicker>
<button kendoButton fillMode="clear" icon="close" (click)="clearDactDate()"></button>
</div>
</div>
</div>
there is no additional CSS at the moment. I have tried to move the button within the datepicker and a lot of other things but I just cannot seem to get it to work 🙁
Thank you for any help given.
Cheers
Ursus