I want to open bootstrap 4 date picker on the click of input field. i don't want to display calender icon How can I resolve this issue?
You can do something like this:
<input
readonly
placeholder="yyyy-mm-dd"
class="form-control"
ngbDatepicker
(click)="datePicker.toggle()"
#datePicker="ngbDatepicker">
I created a small demo example here: https://stackblitz.com/edit/angular-anhgsg
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With