Remove a few empty spaces and line breaks

Most it is done by my editor automatically.
This commit is contained in:
Tobias 2021-01-17 21:04:37 +01:00
parent 4aebf05918
commit c2ee058682
8 changed files with 19 additions and 24 deletions

View file

@ -52,15 +52,15 @@ export class DropDown<T> extends InputElement<T> {
if(this._values.length <=1){
return "";
}
let options = "";
for (let i = 0; i < this._values.length; i++) {
options += "<option value='" + i + "'>" + this._values[i].shown.InnerRender() + "</option>"
}
return "<form>" +
"<label for='dropdown-" + this.id + "'>" + this._label.Render() + " </label>" +
"<select name='dropdown-" + this.id + "' id='dropdown-" + this.id + "'>" +
options +
"</select>" +
"</form>";