mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-02 03:19:56 +01:00
Get flatpickr popup working along with LionDialog
This commit is contained in:
parent
ec388c955a
commit
0a745299ce
@ -432,6 +432,12 @@ export class Et2Date extends Et2InputWidget(FormControlMixin(ValidateMixin(LitFl
|
|||||||
// Listen for flatpickr change so we can update internal value, needed for validation
|
// Listen for flatpickr change so we can update internal value, needed for validation
|
||||||
options.onChange = options.onReady = this._updateValueOnChange;
|
options.onChange = options.onReady = this._updateValueOnChange;
|
||||||
|
|
||||||
|
// Remove Lion's inert attribute so we can work in Et2Dialog
|
||||||
|
options.onOpen = [() =>
|
||||||
|
{
|
||||||
|
this._instance.calendarContainer.removeAttribute("inert")
|
||||||
|
}];
|
||||||
|
|
||||||
return options;
|
return options;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user