MultiUrlPicker angular directive not working in 10.2.0
Hi,
I have a custom property editor (in App_Plugins) with a property for picking a tree node or entering a URL in text field. It seems to have stopped working in version 10.1.0. I can pick a node and it shows up in the backoffice UI, but after publishing the page it is empty / not set. Here is my code:
MultiUrlPicker angular directive not working in 10.2.0
Hi,
I have a custom property editor (in App_Plugins) with a property for picking a tree node or entering a URL in text field. It seems to have stopped working in version 10.1.0. I can pick a node and it shows up in the backoffice UI, but after publishing the page it is empty / not set. Here is my code:
I tried to add a console.log in my watch but it seems like it is never executed.
Does anyone manage to get this working and can you confirm it is working in 10.1.0 or later?
Thanks in advance, Josef
It seems it was me and myself that caused the bug. Removing this line did the trick:
if (angular.equals(newValue, oldValue)) return
I added it in a recent commit in place of a '==' check which apparently was a bad idea.
is working on a reply...