forked from MapComplete/MapComplete
Remove a few empty spaces and line breaks
Most it is done by my editor automatically.
This commit is contained in:
parent
4aebf05918
commit
c2ee058682
8 changed files with 19 additions and 24 deletions
|
@ -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>";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue