I am having issues built the example and tried to use it on my own block list item, and it not working.
I have added a console.log to see if the filter is firing and it not working.
Heres the cold for the filter:
angular.module("umbraco.filters").filter("myFilter", function () {
return function () {
// Apply any custom logic to modify the output value and return a string
console.log("test!");
return "My filter says:";
}
});
Configuring Block Editor Label Properties
HI,
I am trying to build a filter using the following document.
https://docs.umbraco.com/umbraco-cms/fundamentals/backoffice/property-editors/built-in-umbraco-property-editors/block-editor/label-property-configuration
I am having issues built the example and tried to use it on my own block list item, and it not working.
I have added a console.log to see if the filter is firing and it not working.
Heres the cold for the filter:
angular.module("umbraco.filters").filter("myFilter", function () { return function () { // Apply any custom logic to modify the output value and return a string console.log("test!"); return "My filter says:"; } });
Any advise.
Thanks.
is working on a reply...