Is it possible to remove the ‘Repeat Event’ field from the ‘Edit Event’ screen? If so, how can this be accomplished?
Support Forum
Hello.
2. We haven’t been able to remove the ‘Repeat Event’ field from the ‘Edit Event’ screen. Is it possible?
You can disable it setting this to false: https://www.bryntum.com/docs/scheduler-pro/#Scheduler/feature/mixin/RecurringEventEdit#config-showRecurringUI
features : {
// or taskEdit
eventEdit : {
showRecurringUI : false
}
}
Hi!
If you are using our Scheduler react wrapper for React please refer to this guide to use features.
https://www.bryntum.com/docs/scheduler/#guides/integration/react.md
Features are configured in slightly different manner than in pure JS code.
Like this
<BryntumScheduler
...
// This added to disable recurring feature UI from Event Edit
eventEditFeature={{
showRecurringUI : false
}}
I've made few small changes to Scheduler/examples/react/javascript/simple/ demo from zip bundle.
Mainly changes are in /src/containers/Main.js : line 114 and below
Please see attached simple.zip. Unpack it on place of simple example with replacing files and run this to check.
npm install
npm run start
If this doesn't help please attach your app here to check.
- Attachments
-
- simple.zip
- (885.65 KiB) Downloaded 81 times
Hi jammb,
I just checked this flag with our recurring events example here: https://bryntum.com/examples/scheduler/react/typescript/recurring-events/build/index.html
Just added eventEditFeature = {{showRecurringUI : false}}
into <BryntumScheduler>
config in src/App.tsx
and it works to me. What version do you use?
Right now it looks like your local issue. Please try to reproduce this issue with one of our examples, the easiest way is try the demo I mentioned.
FYI: recurringEventsFeature
is disabled by default and Repeat Event
combobox is hidden in Edit Event
dialog.
All best,
Alex
All the best,
Alex