Create text label queues for approval in streamlit

I’m new to streamlit . I’m trying to create a ticketing kind of project where a person can request a ticket and the admin can approve or delete it.
I don’t know how to create a text list view of all the tickets. Since there can be n number of open tickets coming from DB. The list needs to be created in loop.

Please help

sample data:

[{
"title":"a",
"desc":"Something"
"date":"Some date"
},{
"title":"b",
"desc":"Something else"
"date":"Some else date"
}]

Hey @Sarwar_Hayat, it sounds like maybe you’re looking for st.button?

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.