Replies: 7 comments 10 replies
-
If you want to submit a bug report please fill in the bug report with detail description as required via https://github.com/laravel/nova-issues/issues/new?assignees=&labels=&template=1_Bug_report.md. This feels like a question. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
This comment was marked as off-topic.
This comment was marked as off-topic.
-
I am using Nova 4 and this is still not available. Are there any news with regards to it? |
Beta Was this translation helpful? Give feedback.
-
After some digging, there has indeed been some misunderstanding of the issue/request at hand. Indeed the BelongsToMany does not offer control over that "With trashed" checkbox visibility when editing the attached models. The current functionality "just" looks at if the attachable model class makes use of SoftDeletes, if it does then the checkbox appears else it does not. We'll look at bringing this to Nova 5, coming soon 👍 |
Beta Was this translation helpful? Give feedback.
-
I just hid it: [dusk="users-with-trashed-checkbox"] {
display: none;
} Where |
Beta Was this translation helpful? Give feedback.
-
Released with Laravel Nova 5.0.0 Feel free to open up a new issue if you're still experiencing this problem on the latest version. |
Beta Was this translation helpful? Give feedback.
-
Description:
withoutTrashed() not available on BelongsToMany relation, how can i get rid of the checkbox?
´
Beta Was this translation helpful? Give feedback.
All reactions