Page 1 of 1

[VUE] eventEdit items not working for week and day views. Working for month view

Posted: Thu Jun 08, 2023 11:59 pm
by jnarowski

Good afternoon!

We are editing the fields in the edit Event and it seems to work for our month view in the Scheduler. We just hide allDay and recurrenceCombo successfully as shown in the image

But this exact settings are not working when trying to implement them in the week or day view. The recurrenceCombo doesn't show but it's by default, it's been impossible to us to hide the all day field

This is the code we're trying to use in both views:

   features: {
          eventEdit: {
            items: {
              allDay: null,
              recurrenceCombo: null,
            }
          }
        },

As said, working in the month view but not in the week and day.

Thank you very much appreciate your help


Re: [VUE] eventEdit items not working for week and day views. Working for month view

Posted: Fri Jun 09, 2023 11:44 am
by alex.l

I tried to reproduce this in our Vue example and it works well to me. Please see a runnable app attached to this post.


Re: [VUE] eventEdit items not working for week and day views. Working for month view

Posted: Mon Jun 12, 2023 9:27 pm
by jnarowski

This is an example where we're having this issue:

The configuration we're doing is in src/components/Calendar.vue.
We're removing the allDay field in both the Day and the Month view with the following setup:

features: {
        eventEdit: {
          items: {
            allDay: null,
          }
        }
      },
 

But this is just working for the month view

Month view
Month view
Screen Shot 2023-06-12 at 2.26.14 PM.png (27.18 KiB) Viewed 387 times

not the day view.

Day view
Day view
Screen Shot 2023-06-12 at 2.26.31 PM.png (28.02 KiB) Viewed 387 times

Re: [VUE] eventEdit items not working for week and day views. Working for month view

Posted: Tue Jun 13, 2023 12:17 am
by marcio

Hey jnarowski,

Thanks for the example, as Alex suggested, you can disable that field for all views directly using the following snippet

<bryntum-calendar ref="calendar" 
	eventEditFeature="{
		items: {
			allDay: false,
          }}"  />

But I created a ticket to investigate why the way that you're setting is working only for MonthView https://github.com/bryntum/support/issues/6988


Re: [VUE] eventEdit items not working for week and day views. Working for month view

Posted: Tue Jun 13, 2023 8:38 pm
by jnarowski

Hi marcio

We tried and failed to use that snippet before. But right not using that works perfectly thank you very much for your help


Re: [VUE] eventEdit items not working for week and day views. Working for month view

Posted: Tue Jun 13, 2023 8:40 pm
by marcio

Hey jnarowski,

Thanks for letting us know! Don't hesitate to contact us if you need more assistance.


Re: [VUE] eventEdit items not working for week and day views. Working for month view

Posted: Fri Jun 16, 2023 2:19 pm
by Animal

The features config goes on the Calendar. not individual modes.

It's a top level config:

Screenshot 2023-06-16 at 14.17.40.png
Screenshot 2023-06-16 at 14.17.40.png (266.95 KiB) Viewed 292 times