Problem is that despite using preview attribute set to true, the validation still occurs if i set min element to 1. With Umbraco.MultiUrlPicker that problem does not occur. Preview works as i cannot add any element in this view, but validation too.
I don't know how but my value in my custom control is validated if there is more than one element as for example if i define it with value: {}, the validation will pass. However in the place where this field would be mandatory and not in preview the validation will not occur too.
Preview attribute in custom umb-property-editor directive
Hi guys, i spot a problem with my custom control on Umbraco 8.9.0 which is defined like this.
Problem is that despite using preview attribute set to true, the validation still occurs if i set min element to 1. With Umbraco.MultiUrlPicker that problem does not occur. Preview works as i cannot add any element in this view, but validation too.
MultiNodeTreePicker is defined like this
There is no problem with save of this control.
I don't know how but my value in my custom control is validated if there is more than one element as for example if i define it with value: {}, the validation will pass. However in the place where this field would be mandatory and not in preview the validation will not occur too.
is working on a reply...