How to use the Mendix validator in a widget?

After setting a value of a attribute in a custom widget I got a javascript error saying that I should first check the value using the mendix/validator. I added the mendix/validator to the widget (documented on as this: define([ "dojo/_base/declare", "mendix/validator", "mxui/widget/_WidgetBase", ... ], function (declare, validator, _WidgetBase, ... But this gives me an error in the build-report.txt (it is however working when I run locally): error(311) Missing dependency. module: BootstrapInputAddons/widget/BootstrapInputAddons; dependency: mendix/validator What am I doing wrong?
1 answers

This seems to be the same as this question

We're working on it!