mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-26 12:51:52 +02:00
Et2Date: Fix missing scroll buttons
This commit is contained in:
parent
a9d57499a3
commit
449376d613
@ -324,11 +324,12 @@ export class Et2Date extends Et2InputWidget(LitFlatpickr)
|
|||||||
|
|
||||||
/* Scroll buttons */
|
/* Scroll buttons */
|
||||||
|
|
||||||
.input-group__container {
|
.form-control-input {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
display: flex;
|
||||||
}
|
}
|
||||||
|
|
||||||
.input-group__container:hover .et2-date-time__scrollbuttons {
|
.form-control-input:hover .et2-date-time__scrollbuttons {
|
||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1045,7 +1046,9 @@ export class Et2Date extends Et2InputWidget(LitFlatpickr)
|
|||||||
}
|
}
|
||||||
// This element gets hidden and used for value, but copied by flatpickr and used for input
|
// This element gets hidden and used for value, but copied by flatpickr and used for input
|
||||||
return html`
|
return html`
|
||||||
|
<slot name="prefix"></slot>
|
||||||
<et2-textbox type="text" placeholder=${this.placeholder} ?required=${this.required}></et2-textbox>
|
<et2-textbox type="text" placeholder=${this.placeholder} ?required=${this.required}></et2-textbox>
|
||||||
|
<slot name="sufix"></slot>
|
||||||
${this._incrementButtonTemplate()}
|
${this._incrementButtonTemplate()}
|
||||||
`;
|
`;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user