forked from extern/egroupware
Fix date duration label always showed above the input, never to the left
This commit is contained in:
parent
85cc58b32b
commit
e5a88c35f5
@ -875,8 +875,10 @@ export class Et2Date extends Et2InputWidget(FormControlMixin(LitFlatpickr))
|
||||
render()
|
||||
{
|
||||
return html`
|
||||
<div class="form-field__group-one">${this._groupOneTemplate()}</div>
|
||||
<div class="form-field__group-two">${this._groupTwoTemplate()}</div>
|
||||
<div part="form-control" class="form-control">
|
||||
<div class="form-field__group-one" part="form-control-label">${this._groupOneTemplate()}</div>
|
||||
<div class="form-field__group-two" part="form-control-input">${this._groupTwoTemplate()}</div>
|
||||
</div>
|
||||
`;
|
||||
}
|
||||
|
||||
|
@ -357,6 +357,17 @@ export class Et2DateDuration extends Et2InputWidget(FormControlMixin(LitElement)
|
||||
return this.__displayFormat;
|
||||
}
|
||||
|
||||
|
||||
render()
|
||||
{
|
||||
return html`
|
||||
<div part="form-control" class="form-control">
|
||||
<div class="form-field__group-one" part="form-control-label">${this._groupOneTemplate()}</div>
|
||||
<div class="form-field__group-two" part="form-control-input">${this._groupTwoTemplate()}</div>
|
||||
</div>
|
||||
`;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return {TemplateResult}
|
||||
* @protected
|
||||
|
Loading…
Reference in New Issue
Block a user