diff options
author | Raphael Kabo <raphaelkabo@hey.com> | 2023-10-10 15:18:12 +0100 |
---|---|---|
committer | Raphael Kabo <raphaelkabo@hey.com> | 2023-10-10 15:18:12 +0100 |
commit | 2f4ffd5d86aa695afaffed9c6780f695d0bfde9d (patch) | |
tree | 0f963b59a0bd18065ed55ab3e0aa220c3d3e3d7e /public/js/modules/new.js | |
parent | 29e9314211376807c934f284e71aadce71a31ea3 (diff) |
Improve group selector styling to use Select2
Diffstat (limited to 'public/js/modules/new.js')
-rw-r--r-- | public/js/modules/new.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/public/js/modules/new.js b/public/js/modules/new.js index ca875bc..2d880f8 100644 --- a/public/js/modules/new.js +++ b/public/js/modules/new.js @@ -95,12 +95,13 @@ function newEventForm() { errors: [], submitting: false, init() { - // Set up Select2 + // Set up timezone Select2 this.select2 = $(this.$refs.timezone).select2(); this.select2.on("select2:select", (event) => { this.data.timezone = event.target.value; }); this.data.timezone = this.select2.val(); + // Reset checkboxes this.data.eventGroupCheckbox = false; this.data.interactionCheckbox = false; |