Skip to content

Commit

Permalink
fix (admin): autocomplete related backend field
Browse files Browse the repository at this point in the history
  • Loading branch information
mickael-kerjean committed Nov 19, 2023
1 parent cbfa113 commit faf220b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/components/form.js
Original file line number Diff line number Diff line change
Expand Up @@ -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));
});
};
Expand Down

0 comments on commit faf220b

Please sign in to comment.