Learn how to use Dash Bio for next-gen sequencing & quality control. 🧬 Access the recorded webinar.

Javascript error in attempted use of pattern-matching callback selectors

On Mac OS environment, this callback code executes correctly in browser when reading your documentation,
but generates error shown below when trying to use in Conda python environment.
Please advise on how to update to proper version of Dash renderer that will accept dictionaries per your documentation:

# Pattern-Matching Callbacks
New in Dash 1.11.0! (requires dash-renderer 1.4.0 or greater)
The pattern-matching callback selectors `MATCH` , `ALL` , & `ALLSMALLER` allow you to write callbacks
that respond to or update an arbitrary or dynamic number of components.

I have dash-renderer 1.9.0 installed and am getting the error shown below.

Thanks in advance for any assistance you can provide.

Callback example
@app.callback(
Output(‘dropdown-container-output’, ‘children’),
Input({‘type’: ‘filter-dropdown’, ‘index’: ALL}, ‘value’)
)
def display_output(values):
return html.Div([
html.Div(‘Dropdown {} = {}’.format(i + 1, value))
for (i, value) in enumerate(values)
])

Error encountered
Invalid argument id passed into Dropdown with ID “[object Object]”.
Expected string.
Was supplied type object.
Value provided:
{
“type”: “filter-dropdown”,
“index”: 0
}

(This error originated from the built-in JavaScript code that runs Dash apps. Click to see the full stack trace or open your browser’s console.)

Dash component versions

dash-core-components 1.15.0 pypi_0 pypi
dash-cytoscape 0.2.0 pypi_0 pypi
dash-extensions 0.0.51 pypi_0 pypi
dash-html-components 1.1.2 pypi_0 pypi
dash-renderer 1.9.0 pypi_0 pypi
dash-table 4.11.2 pypi_0 pypi