-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feature: add and edit events #142
Comments
Hi there, thanks for opening this issue! I definitely plan to build this down the road. For now, you can use the callbacks The callbacks are documented here: https://schedule-x.dev/docs/calendar/configuration |
Event management is adeptly handled in the current system. However, the integration of a universal "event editor form" poses challenges due to varying use-cases. Each event might require differing levels of detail depending on its specific context. In light of this, customizing forms to suit individual use-cases might be more practical than attempting a one-size-fits-all solution. The maybe-correct approach involves manually creating your own form and handling the form submission to facilitate new event creation. This means designing a custom form tailored to your specific use-case and then managing the submission process, which interacts with the Schedule-X Calendar Events functionalities. Alternatively, if there's a preference to incorporate these features directly within the calendar, bypassing external elements, new handlers can be created. These would include callbacks like onEventClick, onClickDate, and onClickDateTime, as suggested by @tomosterlund. |
@tomosterlund do the callbacks fire when on mobile? I've tried on chrome devtools, and it seem to not fire. Am I doing somehting wrong? |
@aonghas and @m0tay thanks for reporting your issues. That is in general very helpful. However, please create separate issues when it doesn't directly relate to the exact issue of the OP. @kankanai regarding this feature request: I've decided to build this feature as a first feature of the premium offering of Schedule-X, meaning I won't build it here in the open sourced repo. Thanks for taking the time to suggest the feature though |
I have already used it. Currently, it is used for display, but there is no new function. If it is supported, it would be great, such as right clicking on the interface to create or edit an existing schedule
The text was updated successfully, but these errors were encountered: