Reputation: 125
I need to show new modal after the submit of the previous one, but I need a trigger_id for it, and there is nothing about it after the submit.
I can use views.update API only instead, and I have a valid response, but the submit button closes the window and nothing happens on the client side after it all.
Slack doesn't show an input in modals without a submit button, so I can't use alternative buttons in the modal too, because a user anyway can click on the submit button and it will be closed.
Is it possible to show or update the modal after an input submit? For example, I need to take a data from the input and show it in the modal after, is it possible?
Upvotes: 1
Views: 2730
Reputation: 3858
You could try updating the view using the response_action
. That needs to happen within 3 seconds, but doesn't require a trigger_id
. Docs for that are here.
Upvotes: 1