Without seeing more of the widget code it is difficult to troubleshoot. What is being passed in as the value? What dependencies are included in the custom widget?
It inherits from _WidgetBase, _TemplatedMixin and _WidgetsInTemplateMixin.
This widget basically creates two datetextboxes and links them together (date range from-to). _setDisabledAttr function is something like this:
None of _WidgetBase, _TemplatedMixin and _WidgetsInTemplateMixin support being ‘disabled’. If you read the code for these you won’t see a _setDisabledAtt function. Things like form dijits do. So in your widget you’re going to need to do something like