This repository was archived by the owner on Jun 6, 2025. It is now read-only.

Description
So basically here is a rundown of what it's doing:
Some things to note; My viewmodel has a calendar that is clickable that will set a date to what is clicked on.
handleCalendarClick(info) {
console.log(info);
this.lastSelectedDateTime = info.date;
this.appointmentOpened = true;
console.log(this.lastSelectedDateTime);
}
I have your element setup like so:
<abp-datetime-picker value.bind="lastSelectedDateTime"></abp-datetime-picker>
When the element: <abp-datetime-picker value.bind="lastSelectedDateTime"></abp-datetime-picker> is IN VIEW and the handleCalendarClick() happens, chrome will completely freeze up requiring a force close of the app.
Simply changing the element to : <abp-datetime-picker value.bind="someOtherDateTime"></abp-datetime-picker> fixes the problem but I'm unable to bind the calendar clicking to be displayed on the view without breaking.
To elaborate on the is IN VIEW if I select the datetime on the calendar when this element is not yet rendered (if.bind for example) and I open up the element AFTER the datetime is set, nothing is broken and all is fine. It would seem anytime I'm updating the element within view by setting the time, is when it breaks.