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

Week view won't render any events if resources prop is passed in #2643

Closed
4 of 5 tasks
Raduh opened this issue Aug 25, 2024 · 1 comment
Closed
4 of 5 tasks

Week view won't render any events if resources prop is passed in #2643

Raduh opened this issue Aug 25, 2024 · 1 comment
Labels

Comments

@Raduh
Copy link

Raduh commented Aug 25, 2024

Check that this is really a bug

  • I confirm

Reproduction link

https://pastebin.com/E8H431TZ

Bug description

If I pass resources to my DragAndDropCalendar, no events get rendered on the week view.
Month and day view still renderd the events.
There is no error log in the console.

Expected Behavior

No response

Actual Behavior

Events should get rendered

react-big-calendar version

1.13.4

React version

17.0.2

Platform/Target and Browser Versions

Ubuntu

Validations

  • Read the docs.
  • Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
  • Make sure this is a react-big-calendar issue and not an implementation issue

Would you like to open a PR for this bug?

  • I'm willing to open a PR
@Raduh Raduh added the bug label Aug 25, 2024
@Raduh Raduh changed the title Week & Day view don't render any events if resources prop is passed in Week view won't render any events if resources prop is passed in Aug 25, 2024
@cutterbl
Copy link
Collaborator

@Raduh Take a closer look at the Resources Example. You must use the various accessors, and the events displayed require a resourceId that corresponds to that of an available resource. (unfortunately my work does not allow access to pastebin, but does allow access to codesandbox)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants