populate value in element based on another element selected value.
Description:
I am using dialog.open method, in this there are two elements with select option, I have selected value from drop down menu in the first element, and from second element I need to select the options based on first element selected values, which is not getting in the "dialog_suggestion" payload.
Is it possible to send the selected value from the first element, before select the value from second element drop down?
slackclient version: 1.3.0 node version: v10.15.0 OS version(s): CentOS Linux release 7.5.1804 (Core)
Steps to reproduce:
- Use dialog.open method with two elements, select the value from drop down.
- Try to select the value from second drop down based on the first drop down value.
Expected result:
I should be able to generated dynamic values based on the first element selected values.
Actual result:
I am not able to get the value to decide which is selected from the first element from the dialog_suggestion payload.
@nsinnakkavadi it's not possible with the current dialog functionality. The best way to do it currently is to either use message attachments in an ephemeral message, or use a message menu to make the first selection, then present a button to open the dialog.