Closed jovana closed 10 months ago
@jovana thank you for pointing out the issue I will do it in next week as I am busy now. If you can do it, it will be very wonderful.
@jovana please use 4.3.3-beta.1 version and check.
you need to pass title
in resources
I have installed the latest version now. The reported issue has been resolved! Many thanks!! I will close this bug report now.
Thank you @jovana
Checklist
Describe the bug
Using JSX on the resource setter:
The title on the resource buttons gives: [object Object]. Not sure why this title's has been set. You can find it here: https://github.com/react-scheduler/react-big-schedule/blob/f0d7eb3128591f97a15f55fcd4acfbbdf5c9d8c1/src/components/AgendaResourceEvents.jsx#L39
and here:
https://github.com/react-scheduler/react-big-schedule/blob/f0d7eb3128591f97a15f55fcd4acfbbdf5c9d8c1/src/components/ResourceView.jsx#L44
Possible to rename to
title={resourceEvents.slotTitle}
instead of usingtitle={resourceEvents.slotName}
.Also, make more send to have this aligned using the title from the resource setter instead of the name.
Reproduction Link/Code
Steps to reproduce
Using "react-big-schedule": "^4.3.2",
Operating System
MacOSX
Browser
Chromium
React version
18.2
react-big-schedule version
Additional Information
No response