Disable preview #3983
-
Is there any chance to disable the preview? Like with an additional policy? |
Beta Was this translation helpful? Give feedback.
Replies: 11 comments 8 replies
-
Would be great to have this option. |
Beta Was this translation helpful? Give feedback.
-
I think it should be disabled automatically if there are no fields to preview. All my models show: "There are no fields to display". I'd even consider this a bug. |
Beta Was this translation helpful? Give feedback.
-
Some more ideas
|
Beta Was this translation helpful? Give feedback.
-
I like the idea to add this with additionalPolicy like:
|
Beta Was this translation helpful? Give feedback.
-
is there actually no way to disable all previews entirely? |
Beta Was this translation helpful? Give feedback.
-
Also looking to disable the preview for a resource or globally |
Beta Was this translation helpful? Give feedback.
-
My current solution is to just hide the button via css. It's not a real solution and i think all actions should be manageable by the consuming application, but it's still better than explaining each client why there is button without any function.
|
Beta Was this translation helpful? Give feedback.
-
Style css it's a work around, It would be better to have policy management- |
Beta Was this translation helpful? Give feedback.
-
This is marked as implemented but, I don't see a tag for what was implemented. Is there a way to disable it globally? Or make it so if there is nothing to preview, the button won't show? |
Beta Was this translation helpful? Give feedback.
-
I see this was marked as implemented and the prior comments say the item should auto-hide if no fields were marked as preview. But that doesn't appear to be my case. I still see the menu option for preview even if there are no fields marked as preview. I'm on nova 4.12.13 which is the most current as of this post. Was there a regression? Or am I missing something? Looks like in 4.12.2 this was added back according to the release notes. |
Beta Was this translation helpful? Give feedback.
-
This was implemented in Nova v4.9.0. 👍 |
Beta Was this translation helpful? Give feedback.
This was implemented in Nova v4.9.0. 👍