[BUGFIX] set max items in choices.js after searching
Some checks failed
CI/CD Pipeline / deploy-staging (push) Has been cancelled
CI/CD Pipeline / test (push) Has been cancelled
CI/CD Pipeline / deploy-main (push) Has been cancelled

This commit is contained in:
Marie Birner
2025-07-20 11:57:45 +02:00
parent 627a515a42
commit 55c0647b55
2 changed files with 7 additions and 0 deletions

View File

@@ -413,6 +413,7 @@ function initNewChoice(select: HTMLInputElement) {
steering_person.setAttribute("required", "required");
}
const choice = new Choices(select, {
searchResultLimit: 100,
searchFields: ["label", "value", "customProperties.searchableText"],
removeItemButton: true,
loadingText: "Wird geladen...",

6
package-lock.json generated Normal file
View File

@@ -0,0 +1,6 @@
{
"name": "rowt",
"lockfileVersion": 3,
"requires": true,
"packages": {}
}