streamlit-calendar icon indicating copy to clipboard operation
streamlit-calendar copied to clipboard

Add event to a Timeline

Open gaspardc-met opened this issue 9 months ago • 0 comments

Hey @im-perativa, thanks for the very clean component ! I really enjoyed the demo you deployed with all the different modes.

However, one thing is puzzling me, and I can't find it either in FullCalender.io: how can I add an event from the calendar view, with either (i) a streamlit button to add an event or (ii) automatic event creation for one of the callbacks (for example with dateClick)

It seems this would be a common enough use case but I can't find anything about it 🤔 With resource-timeline for example, I could create a streamlit button to add an event on the Calendar to be placed on the right Room/Building, but the callback for eventChange does not contain the new (or old) id of the event: image

Do you have a hack/workaround for this ? Thanks !

gaspardc-met avatar Apr 26 '24 16:04 gaspardc-met