Et2DateDuration: Fix widget did not fire change event when value changed

This commit is contained in:
nathan 2023-03-20 14:50:45 -06:00
parent 60e4e17fad
commit 59ea901cf9

View File

@ -398,7 +398,10 @@ export class Et2DateDuration extends Et2InputWidget(FormControlMixin(LitElement)
_inputGroupInputTemplate()
{
return html`
<div class="input-group__input">
<div class="input-group__input" @sl-change=${() =>
{
this.dispatchEvent(new Event("change", {bubbles: true}));
}}>
<slot name="input">
${this._inputTemplate()}
${this._formatTemplate()}