feat: add x-limited-choices directive

This commit is contained in:
imperosol
2025-03-16 18:43:43 +01:00
parent 65f5e80f24
commit 0784cd39b1
3 changed files with 78 additions and 29 deletions

View File

@@ -1,7 +1,8 @@
import { limitedChoices } from "#core:alpine/limited-choices";
import sort from "@alpinejs/sort";
import Alpine from "alpinejs";
Alpine.plugin(sort);
Alpine.plugin([sort, limitedChoices]);
window.Alpine = Alpine;
window.addEventListener("DOMContentLoaded", () => {