allow to search by nickname #347
@ -364,7 +364,7 @@ function initNewChoice(select: HTMLInputElement) {
|
|||||||
steering_person.setAttribute("required", "required");
|
steering_person.setAttribute("required", "required");
|
||||||
}
|
}
|
||||||
const choice = new Choices(select, {
|
const choice = new Choices(select, {
|
||||||
searchFields: ['label', 'customProperties.searchableText'],
|
searchFields: ['label', 'value', 'customProperties.searchableText'],
|
||||||
removeItemButton: true,
|
removeItemButton: true,
|
||||||
loadingText: "Wird geladen...",
|
loadingText: "Wird geladen...",
|
||||||
noResultsText: "Keine Ergebnisse gefunden",
|
noResultsText: "Keine Ergebnisse gefunden",
|
||||||
|
Loading…
Reference in New Issue
Block a user