Should show the updated options each time.
The following code snippet would call maps autocomplete function and get all the locations based on the keyword. Options work for the first pass but do not work when trying to search for long strings or clearing the string and retrying. The keyword does come through and Options are created based on the output but the options do not get reloaded on the drop down UI although the options are logged and created on each request.
DEBUG:bolt_app:Responding with status: 200 body: "{"options": [{"text": {"type": "plain_text", "text": "Rocky Mountain National Park, Colorado, USA"}, "value": "Rocky Mountain National Park, Colorado, USA"}, {"text": {"type": "plain_text", "text": "Rocky Mountain Metropolitan Airport (Terminal), Airport Way, Broomfield, CO, USA"}, "value": "Rocky Mountain Metropolitan Airport (Terminal), Airport Way, Broomfield, CO, USA"}, {"text": {"type": "plain_text", "text": "Rocky Mountain Arsenal National Wildlife Refuge, Gateway Rd, Commerce City, CO, USA"}, "value": "Rocky Mountain Arsenal National Wildlife Refuge, Gateway Rd, Commerce City, CO, USA"}, {"text": {"type": "plain_text", "text": "Rocky Mount, NC, USA"}, "value": "Rocky Mount, NC, USA"}, {"text": {"type": "plain_text", "text": "Rocky Mountains"}, "value": "Rocky Mountains"}]}"
(Describe your issue and goal here)
The
slack_boltversionslack-bolt==1.16.1
Python runtime version
Python 3.9.10
OS info
Mac OS - Ventura - 13.1
Steps to reproduce:
Expected result:
Should show the updated options each time.
Actual result:
The following code snippet would call maps autocomplete function and get all the locations based on the keyword. Options work for the first pass but do not work when trying to search for long strings or clearing the string and retrying. The keyword does come through and Options are created based on the output but the options do not get reloaded on the drop down UI although the options are logged and created on each request.
Requirements
Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to those rules.