Unfortunately it does not seem to be compatible with this mendix version. See also this user review from the marketplace:
change the function and rebuild again.
checkEnumValue: function (value) {
if (this._contextObj && !this._contextObj.isBoolean(this.name)) {
var kv = this._contextObj.getEnumMap(this.name);
var valueExist = kv.some((kv) => kv.key === value);
if (!valueExist) {
this._addValidation(
" The value: " + value + " is not valid for this enumeration"
);
}
}
},