1
votes

I am using Angular npm mydatepicker(https://www.npmjs.com/package/mydatepicker). I want to open date toggle If I click input of datepicker. It only opens and closes When Datepicker button is clicked.

enter image description here

This is my code:

<my-date-picker name="mydate" [options]="myDatePickerOptions"
        (dateChanged)="onDateChanged($event)" [placeholder]="'Дата оплаты'"> 
</my-date-picker>

Can Anyone help me? Thank you.

1
can you show myDatePickerOptions ?Random
Yeah, But I could not find this option which I wantOdilbek Utamuratov

1 Answers

1
votes

Refering to the doc, there is an option for this:

name: openSelectorOnInputClick
default: false
type: boolean
description: Open selector when the input field is clicked. Can be used if inline = false and editableDateField = false.