I want to limit the frequencies that users can choose from to "None", "Daily", and "Weekly". I figured out how to do this by adding the following config to eventEditFeature
, like so:
eventEditFeature: {
recurrenceCombo: {
store: {
filters: {
filterBy: (rec) => {
return ['none', 'DAILY', 'WEEKLY'].includes(rec.value)
},
},
},
},
}
But I also want to limit the items that appear in the dropdown of the "recurrence editor" popup. I see the docs here https://www.bryntum.com/products/scheduler/docs/api/Scheduler/view/recurrence/RecurrenceEditor, but I cannot figure out where / how in my config to customize the RecurrenceEditor config. (I'm using BryntumSchedulerProProps for my react component)