6 Commits

Author SHA1 Message Date
Marie Birner
397092bff5 [NPM] update choices.js to 11.1.0 to set searchResultLimit -1
Some checks failed
CI/CD Pipeline / test (push) Failing after 4m58s
CI/CD Pipeline / deploy-staging (push) Has been skipped
CI/CD Pipeline / deploy-main (push) Has been skipped
2025-07-20 11:46:59 +02:00
627a515a42 Merge pull request 'upda' (#1111) from upda into main
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
Reviewed-on: #1111
2025-07-20 11:33:56 +02:00
b53b8b6f0b Merge pull request 'fix path' (#1108) from new-server into main
All checks were successful
CI/CD Pipeline / test (push) Successful in 23m12s
CI/CD Pipeline / deploy-staging (push) Has been skipped
CI/CD Pipeline / deploy-main (push) Successful in 10m30s
Reviewed-on: #1108
2025-07-19 13:24:12 +02:00
a14a76399e Merge pull request 'it's okay to not have this already' (#1106) from new-server into main
All checks were successful
CI/CD Pipeline / test (push) Successful in 20m44s
CI/CD Pipeline / deploy-staging (push) Has been skipped
CI/CD Pipeline / deploy-main (push) Successful in 9m19s
Reviewed-on: #1106
2025-07-19 10:54:02 +02:00
2907ed5caf Merge pull request 'fix path' (#1104) from new-server into main
All checks were successful
CI/CD Pipeline / test (push) Successful in 19m57s
CI/CD Pipeline / deploy-staging (push) Has been skipped
CI/CD Pipeline / deploy-main (push) Successful in 10m41s
Reviewed-on: #1104
2025-07-19 07:04:41 +02:00
539d299c1a Merge pull request 'move to new server' (#1102) from new-server into main
All checks were successful
CI/CD Pipeline / test (push) Successful in 19m39s
CI/CD Pipeline / deploy-staging (push) Has been skipped
CI/CD Pipeline / deploy-main (push) Successful in 9m28s
Reviewed-on: #1102
2025-07-18 18:58:14 +02:00
2 changed files with 3 additions and 1 deletions

View File

@@ -413,6 +413,7 @@ function initNewChoice(select: HTMLInputElement) {
steering_person.setAttribute("required", "required");
}
const choice = new Choices(select, {
searchResultLimit: -1,
searchFields: ["label", "value", "customProperties.searchableText"],
removeItemButton: true,
loadingText: "Wird geladen...",
@@ -425,6 +426,7 @@ function initNewChoice(select: HTMLInputElement) {
return `Nur ${maxItemCount} Ruderer können hinzugefügt werden`;
},
callbackOnInit: function () {
console.log(this);
this._currentState.items.forEach(function (obj) {
if (boat_in_ottensheim && obj.customProperties) {
if (obj.customProperties.is_racing) {

View File

@@ -21,7 +21,7 @@
"vite-plugin-static-copy": "^0.13.1"
},
"dependencies": {
"choices.js": "^10.2.0",
"choices.js": "^11.1.0",
"d3": "^7.8.5",
"terser": "^5.21.0"
}