hello. I have this problem when creating a category from the admin panel. I did everything well. bu

hello. I have this problem when creating a category from the admin panel. I did everything well. but when I click create a post, I get this error, as seen in the image.
No description
No description
Solution:
Thank you. It was solved with: As per docs, use ->disabled()->dehydrated() when you want a disabled field to bve saved.
Jump to solution
6 Replies
ryangjchandler
ryangjchandler14mo ago
@wotan6891 It looks like the slug field is disabled, which means it won't be dehydrated. Try using readonly() instead.
wotan6891
wotan6891OP14mo ago
No description
wotan6891
wotan6891OP14mo ago
Hello, is it there?
cheesegrits
cheesegrits14mo ago
As per docs, use ->disabled()->dehydrated() when you want a disabled field to bve saved. https://filamentphp.com/docs/3.x/forms/fields/getting-started#disabling-a-field
Solution
wotan6891
wotan689114mo ago
Thank you. It was solved with: As per docs, use ->disabled()->dehydrated() when you want a disabled field to bve saved.
wotan6891
wotan6891OP14mo ago
🤝
Want results from more Discord servers?
Add your server