Here is the page on which the question arose: http://co43498.tmweb.ru/page2.html
Before creating a question, I tried to find the answer in routing-related topics. But the fact that I managed to find seem to consider a few other things.
I’m trying to make it possible to do different actions with table entries by selecting them from the list of possible actions.
Now I have two server actions configured:
- Deletes the selected records.
- Update of selected records.
The problem, however, is that the form in which the table resides can only connect to one server action. Hence the question:
- How to make the link to the server action in the form change depending on the selected action from the list?