feat: add x-limited-choices directive

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

View File

@@ -1,8 +1,9 @@
import { limitedChoices } from "#core:alpine/limited-choices";
import { alpinePlugin as notificationPlugin } from "#core:utils/notifications";
import sort from "@alpinejs/sort";
import Alpine from "alpinejs";
Alpine.plugin(sort);
Alpine.plugin([sort, limitedChoices]);
Alpine.magic("notifications", notificationPlugin);
window.Alpine = Alpine;