This commit is contained in:
Snake707 2026-03-10 08:47:07 +01:00 committed by GitHub
commit 08f3239297
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1793,7 +1793,10 @@ class Choices {
return;
}
this._addChoice(mapInputToChoice<string>(value, false, this.config.allowHtmlUserInput), true, true);
value.split(this.config.delimiter)
.map((e: string) => mapInputToChoice<string>(e.trim(), false, this.config.allowHtmlUserInput))
.forEach((elementItem: ChoiceFull) => this._addChoice(elementItem, true, true));
addedItem = true;
}