Make Select work how one would expect in forms
This commit is contained in:
@@ -793,6 +793,10 @@ class Form {
|
||||
if (thing === "")
|
||||
continue;
|
||||
const input = this.names.get(thing);
|
||||
if (input instanceof SelectInput) {
|
||||
build[thing] = input.options[input.value];
|
||||
continue;
|
||||
}
|
||||
build[thing] = input.value;
|
||||
}
|
||||
if (this.fetchURL !== "") {
|
||||
|
Reference in New Issue
Block a user