I looking to hide the remove button. Since I just want to display the node & be able to open it. After some digging I found the allowRemoveButton property. But it looks like you can't set that value by using <umb-property-editor>. You would have to use the <umb-node-preview/> directive. I really don't want to use it. Since I have a long list of properties with the contentpicker in the middle of the list.
Do anyone know if I could hide the remove button with by using the <umb-property-editor> directive. Or do I have to resort to using the <umb-node-preview/> directive?
content picker 'allowRemoveButton' for umb-property-editor
Hi!
I am using the the contentpicker in a
<umb-property>
directive. I can config max, min & idType by doing something like this:I looking to hide the remove button. Since I just want to display the node & be able to open it. After some digging I found the
allowRemoveButton
property. But it looks like you can't set that value by using<umb-property-editor>
. You would have to use the<umb-node-preview/>
directive. I really don't want to use it. Since I have a long list of properties with the contentpicker in the middle of the list.Do anyone know if I could hide the remove button with by using the
<umb-property-editor>
directive. Or do I have to resort to using the<umb-node-preview/>
directive?//Johannes
I ended up duplicating the
contentpicker.html
and removing the things I didn't need and changing:to:
So now it looks like this:
JS:
Html:
//Johannes
is working on a reply...