Closed vinagreti closed 7 years ago
I may add another feature to open datetime picker from any element including input field. For an example,
<input [(ngModel)]="myDate" />
<span class="glyphicon glyphicon-calendar"
ng2-datetime-picker
(valueChanged)="myDate=$event"></span>
Do you have any deadline for this?
Just a plan at this moment
When using Material2
<md-input>
the picker is closed just after I click the field because the field gets focused and then the picker closes because it looses the focus. A workaround is disable the field, so it doesn't gets focused and then the picker doesn't close. But than I do this, I need to click at the bottom line beyond the field to open the picker. Are you planning to support material field?See my code using disabled