sib-delete is missing the "next" attribute
I have to manually redirect to the appropriate route after sib-deleting
a resource. Why?
What I would like to do is to set the next
attribute and to get redirected if the delete
happened accordingly.
In the case the delete didn't go through, we should probably display an error message explaining why but that raises the question of error messages handling, and I believe that is another issue.
Side note : I would have expected to write :
<sib-delete>Die bitch, die !!</sib-delete>
Instead of :
<sib-delete data-label="Die bitch, die !!"></sib-delete>
I believe it is a mistake to have the data-label
field here. We don't in sib-route
for instance, nor on sib-link
.