-
Notifications
You must be signed in to change notification settings - Fork 392
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
Cannot update modal with multi static select menu with initial options from different option groups with an additional option from a different option group #1920
Comments
I have filed this with the Block Kit team internally, will keep y'all posted as I hear updates. |
@filmaj Thank you for looking into this! I'll be waiting for an update on the fix! |
@nikhiltadikonda FYI, the team is working / figuring out a fix. It looks to be a client-side caching issue. One identified workaround thus far, which may work for you, is to remove the As I hear more about progress on this, I will keep this issue updated. |
I get around this by just adding the date/time in milliseconds to the end of the block_id field with a : between the front and back like this |
👋 It looks like this issue has been open for 30 days with no activity. We'll mark this as stale for now, and wait 10 days for an update or for further comment before closing this issue out. If you think this issue needs to be prioritized, please comment to get the thread going again! Maintainers also review issues marked as stale on a regular basis and comment or adjust status if the issue needs to be reprioritized. |
As this issue has been inactive for more than one month, we will be closing it. Thank you to all the participants! If you would like to raise a related issue, please create a new issue which includes your specific details and references this issue number. |
This is a spin out issue from a follow-up comment from @nikhiltadikonda in #1496.
Given a modal with a block containing a multi select static menu containing options from different option groups, and the menu having
initial_options
selected from different option groups, such as:..if you configure a bolt app to, for example, listen on the view submissions to this view and call
views.update
on the view modifying the above block to add an option from a separate option group not in the initialinitial_options
to theinitial_options
, theview.update
API will respond with a 200 OK, but the modal will not update the static select menu (while updating other parts of the modal if applicable).In the above blocks, there are three option groups: domestic, indoor and outdoor recreation activities. The initial options contain an option from the domestic and indoor option groups. In the example app below, the
views.update
call adds an option from the outdoor recreation group, but the initial option addition does not get updated in the view.Here is a full app reproducing the behaviour (requires adding a
/post
slash command to your app, and triggering the modal using this slash command):Note that the title of the modal in the
update
call gets updated, so this issue seems to be isolated only to updating the static option group select menu's initial options.The text was updated successfully, but these errors were encountered: