You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be great to have an event where we can define the method we would like to be fired.
In particular, it would be useful to fire delete or put method.
e.g
@router.get("/")asyncdefexample():
return[ ...,
c.Button(
text="Delete",
named_style="warning",
on_click=DeleteEvent("/delete") # or a more general one, as could be useful to have PUT
)]
@router.delete("/delete/{id}")asyncdefdelete(id):
all.pop(id)
returnTrue
The text was updated successfully, but these errors were encountered:
It would be great to have an event where we can define the method we would like to be fired.
In particular, it would be useful to fire
delete
orput
method.e.g
The text was updated successfully, but these errors were encountered: