New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use of submit_disabled in modal dialog #1033
Comments
Hey @davidlundeen-vexcel 👋🏻 Thanks for reaching out! Would you mind linking to a code sample for us to review? I see you mentioned uploading it, but it wasn't attached. Since this example is a little more complex, I don't think it'll be effective for us to recreate it manually. It would also be helpful to know if you're using Socket Mode or a Request URL. Cheers! |
Hi @mwbrooks, thanks for the response. I'm pasting code (minus identifiers) since I didn't upload corerctly last time. I'm using Request URL mode. Thanks for the help!
|
Hi @davidlundeen-vexcel, sorry for our slow response here. The API document may not be clear enough but as of today, this option is available only for "workflow_step" type modals. Thus, your app cannot use the option for normal modals. See also: slackapi/node-slack-sdk#1276 (comment) Let us close this issue now but please feel free to write in if you have any follow up questions. |
Goal is to disable the Submit button until it's explicitly enabled. I'm having some timing issues where it looks like the view_submission event is being processed before a previous block_action processing completes
Reproducible in:
The Slack SDK version
slack-bolt==1.3.0
slack-sdk==3.3.0
slackclient==2.9.3
slackeventsapi==2.2.1
Python runtime version
Python 3.6.5
OS info
Microsoft Windows [Version 10.0.19041.1052]
Steps to reproduce:
Running the attached code results in a dialog with a submit button.
### Expected result:
A dialog displayed with the submit button disabled.
Actual result:
A dialog displayed with the submit button enabled.
Requirements
For general questions/issues about Slack API platform or its server-side, could you submit questions at https://my.slack.com/help/requests/new instead. 🙇
Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to those rules.
The text was updated successfully, but these errors were encountered: