mirror of
https://github.com/ae-utbm/sith.git
synced 2025-11-23 13:16:57 +00:00
Room reservation form
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
import { limitedChoices } from "#core:alpine/limited-choices";
|
||||
import { alpinePlugin as notificationPlugin } from "#core:utils/notifications";
|
||||
import { morph } from "@alpinejs/morph";
|
||||
import sort from "@alpinejs/sort";
|
||||
import Alpine from "alpinejs";
|
||||
|
||||
Alpine.plugin([sort, limitedChoices]);
|
||||
Alpine.plugin([sort, morph, limitedChoices]);
|
||||
Alpine.magic("notifications", notificationPlugin);
|
||||
window.Alpine = Alpine;
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import htmx from "htmx.org";
|
||||
import "htmx-ext-alpine-morph";
|
||||
|
||||
document.body.addEventListener("htmx:beforeRequest", (event) => {
|
||||
event.target.ariaBusy = true;
|
||||
|
||||
Reference in New Issue
Block a user