Closed chrisbenseler closed 7 years ago
I do not fully understand the problem you have. Could you explain with an example plunker?
@allenhwkim I could achieve what I needed (delete an value from the input after the selection of a date). The problem is that if the input is on the footer of the page/browser, the datetimepicker opens above it, and then the user is not able to edit the input with the keyboard (pressind backspace/delete keys, for example). Is it possible to force the position of the datetimepicker, to opens above the input?
@chrisbenseler yes it is possible with some code change, but please create another issue with some screenshots for that after closing this.
I'll do it!
Is it possible to set a null/blank value to the datetimepicker?
Example, with this code:
<input [(ngModel)]="publishdate" ng2-datetime-picker name="publishdate" />
if 'publishdate' has an date, user cannot delete the value from the input field. On the focus (click) of the input the datetimepicker opens. I can add an extra button next to the input tha sets the publishdate do null, but is there anything built-in?