Small fix to Public Holiday input
This commit is contained in:
parent
950c69dd5e
commit
28e40d08ae
1 changed files with 2 additions and 2 deletions
|
@ -30,7 +30,7 @@ export default class PublicHolidayInput extends InputElement<string> {
|
||||||
);
|
);
|
||||||
this._dropdown = dropdown.SetStyle("display:inline-block;");
|
this._dropdown = dropdown.SetStyle("display:inline-block;");
|
||||||
this._mode = dropdown.GetValue();
|
this._mode = dropdown.GetValue();
|
||||||
this.ListenTo(dropdown.GetValue());
|
this.ListenTo(this._mode);
|
||||||
|
|
||||||
const start = new TextField({
|
const start = new TextField({
|
||||||
placeholder: "starthour",
|
placeholder: "starthour",
|
||||||
|
@ -117,7 +117,7 @@ export default class PublicHolidayInput extends InputElement<string> {
|
||||||
|
|
||||||
if(str === "PH open"){
|
if(str === "PH open"){
|
||||||
return {
|
return {
|
||||||
mode: "open"
|
mode: " "
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue