You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hello, I have been trying to use this plugin with angular 6. I have a calendar logo and want to show the calendar on click. I have an input tag in the component that I want to show it and I'm assigning the calendar to this input that from the component's ts file. I'm calling the datepicker.open()from a function in the ts file. The calendar opens no problem here but it doesn't open in the input that I have assigned, instead it inserts the html at the end of the body tag in the ìndex.htmlfile. Also there is no css being assigned to it. Just raw html. Here is my ts file:
hello, I have been trying to use this plugin with angular 6. I have a calendar logo and want to show the calendar on click. I have an input tag in the component that I want to show it and I'm assigning the calendar to this input that from the component's ts file. I'm calling the
datepicker.open()
from a function in the ts file. The calendar opens no problem here but it doesn't open in the input that I have assigned, instead it inserts the html at the end of the body tag in theìndex.html
file. Also there is no css being assigned to it. Just raw html. Here is my ts file:And here is my example.component.html,
Here is how my component looks before click:
https://imgur.com/a/b4U19PR
And this is after click to calendar logo:
https://imgur.com/a/QUnAqCA
What am I doing wrong or missing?
The text was updated successfully, but these errors were encountered: