streamlit-calendar
streamlit-calendar copied to clipboard
Add event to a Timeline
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:
Do you have a hack/workaround for this ? Thanks !