placeholder: _("Select or type a reason"),
});
document.getElementById("cancelBookingModal")?.addEventListener('hide.bs.modal', () => {
$("#cancellation-reason").comboBox('reset');
function handleFilter(e, text, filterStates) {
const target = e.target;
const { filter } = target.dataset;
displayProperty: 'name',
</script>
[% INCLUDE 'str/members-menu.inc' %]
[% Asset.js("js/tables/bookings.js") | $raw %]
.getElementById("cancelBookingForm")
?.addEventListener("submit", handleSubmit);
document
.getElementById("cancelBookingModal")
?.addEventListener("hide.bs.modal", () => {
$("#cancellation-reason").comboBox("reset");
async function handleSubmit(e) {
e.preventDefault();
-