
I’ve create a custom widget and I’m trying to set its “disabled” property in a callback function:
ms = CustomMultiSelect(value=["a"], options=["a", "b"])
def callback(attr, old, new):
ms.disabled = True
ms.on_change('value', callback)
curdoc().add_root(ms)
When the callback is invoked I get the following error in the console:

Seems like it happens only when trying to set the “disabled” property. Other properties don’t cause this error.
