F
Filament9mo ago
kian

Disable dehydrated by default on custom field

Is there a way to disable a field property, in this case dehydrated, by default?
No description
Solution:
In your MapJSON class, as long as it’s extending Field you can use the setUp() method to apply $this->dehydrated(false) or you can do it in a service provider globally if the field is in a plug-in.
Jump to solution
2 Replies
Solution
awcodes
awcodes9mo ago
In your MapJSON class, as long as it’s extending Field you can use the setUp() method to apply $this->dehydrated(false) or you can do it in a service provider globally if the field is in a plug-in.
kian
kianOP9mo ago
Thank you!
Want results from more Discord servers?
Add your server