mirror of
https://github.com/mickael-kerjean/filestash.git
synced 2024-04-21 12:32:08 +00:00
fix (admin): autocomplete related backend field
This commit is contained in:
@@ -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));
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user