Butchering the UI framework

This commit is contained in:
Pieter Vander Vennet 2021-06-10 01:36:20 +02:00
parent 8d404b1ba9
commit 6415e195d1
90 changed files with 1012 additions and 3101 deletions

View file

@ -143,7 +143,7 @@ export default class PublicHolidayInput extends InputElement<string> {
}
}
InnerRender(): string {
InnerRender(): UIElement {
const mode = this._mode.data;
if (mode === " ") {
return new Combine([this._dropdown,
@ -154,9 +154,9 @@ export default class PublicHolidayInput extends InputElement<string> {
" ",
Translations.t.general.opening_hours.openTill,
" ",
this._endHour]).Render();
this._endHour]);
}
return this._dropdown.Render();
return this._dropdown;
}
GetValue(): UIEventSource<string> {