How to trigger a custom action modal directly from a TextInputColumn updateStateUsing?
I have a TextInputColumn on a table for my resources
I am trying to do this:
But the action modal does not get triggered at all, what am I doing wrong?
route_id attribute. When this is changed to a route_id that does not exist, I want to prompt the user with an action modal, where they can create a new route record, which would update the route_id column with the id of the newly created route.I am trying to do this:
But the action modal does not get triggered at all, what am I doing wrong?
Solution
We cannot register an Action here, I guess. I created a header action as a workaround. Is it elegant? No, but it might work for your case.
ListPage
ListPage