Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I've created a custom DataType for use in a macro using the colour picker. My manifest looks like the following:
name: "Defined Colour Picker",
items: ["#000000", "#FFFFFF"]
However, I'm getting the following error:
Cannot read property 'mandatory' of undefined at e.ColorPickerController.$scope.validateMandatory [as valPropertyValidator]
I can see the troublesome line of code is the (in umbraco.controllers.js)
isValid: !$scope.model.validation.mandatory || ($scope.model.value != null && $scope.model.value != "")
As you can see, I added the mandatory field to my manifest but it hasn't solved it :(
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted