Fixed scanmodal #155
@ -14,7 +14,7 @@
|
||||
option.firstname + " " + (option.middlename || "") + " " + option.lastname;
|
||||
const filterRunners = (label, filterText, option) =>
|
||||
label.toLowerCase().includes(filterText.toLowerCase()) ||
|
||||
option.value.toString().startsWith(filterText.toLowerCase());
|
||||
option.value.id.toString().startsWith(filterText.toLowerCase());
|
||||
function focus(el) {
|
||||
el.focus();
|
||||
}
|
||||
@ -22,6 +22,7 @@
|
||||
$: runners = [];
|
||||
RunnerService.runnerControllerGetAll().then((val) => {
|
||||
runners = val.map(r => {return {label: getRunnerLabel(r), value: r}});
|
||||
console.log(runners[0])
|
||||
});
|
||||
$: distance_input = 0;
|
||||
$: processed_last_submit = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user