From faf220bf4c588e1cd6ac004ab1b785789a2670ee Mon Sep 17 00:00:00 2001 From: MickaelK Date: Sun, 19 Nov 2023 15:56:06 +1100 Subject: [PATCH] fix (admin): autocomplete related backend field --- public/components/form.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/components/form.js b/public/components/form.js index 135e012aa..275b2807a 100644 --- a/public/components/form.js +++ b/public/components/form.js @@ -100,7 +100,7 @@ export function $renderInput(options = {}) { $input.refresh = () => { const _datalist = $input?.getAttribute("datalist")?.split(","); $datalist.innerHTML = ""; - multicomplete($input.getAttribute("value"), _datalist).forEach((value) => { + multicomplete($input.value, _datalist).forEach((value) => { $datalist.appendChild(new Option(value)); }); };