Skip to content
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

fix: remove onSelectSlot event handler as its only creating empty ev… #2590

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

geraldhoxha95
Copy link

@geraldhoxha95 geraldhoxha95 commented Apr 28, 2024

The issue was that clicking on a date on the calendar was creating empty events that would fill up the calendar.
This was happening because the onSelectSlot prop was linked to the newEvent function, which was creating empty events.

Removed onSelectSlot.
Functionality now more in align with the other storybook section, Basic Drag n Drop, where clicking on the dates does not do anything.

Closes #2587

@geraldhoxha95 geraldhoxha95 changed the title feat: remove onSelectSlot event handler as its only creating empty ev… fix: remove onSelectSlot event handler as its only creating empty ev… Apr 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Clicking on Day Cell Creates Empty Events Without Event Name Input
2 participants