Dash has a utility that turns the dict IDs into a string. If you use this function, then the id in the
htmlFor will match the strigified id of the component
def stringify_id(id_): if isinstance(id_, dict): return json.dumps(id_, sort_keys=True, separators=(",", ":")) return id_
Thanks. I actually implemented the exact same function to make it work. It would be nice to have it work out of the box though.