Premium support for our pure JavaScript UI components


Post 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

Attachments
Screen Shot 2023-06-08 at 4.56.47 PM.png
Screen Shot 2023-06-08 at 4.56.47 PM.png (28.92 KiB) Viewed 398 times
Screen Shot 2023-06-08 at 4.55.18 PM.png
Screen Shot 2023-06-08 at 4.55.18 PM.png (27.94 KiB) Viewed 398 times

Post 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.

Attachments
filtering.zip
(168.59 KiB) Downloaded 21 times

All the best,
Alex


Post 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 323 times

not the day view.

Day view
Day view
Screen Shot 2023-06-12 at 2.26.31 PM.png (28.02 KiB) Viewed 323 times
Attachments
bryntum-calendar-vite.zip
(57.25 KiB) Downloaded 24 times

Post 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

Best regards,
Márcio


Post 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


Post by marcio »

Hey jnarowski,

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

Best regards,
Márcio


Post 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 228 times

Post Reply