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
ryangjchandler16mo ago
@wotan6891 It looks like the slug field is disabled, which means it won't be dehydrated. Try using readonly() instead.
wotan6891
wotan6891OP16mo ago
No description
wotan6891
wotan6891OP16mo ago
Hello, is it there?
cheesegrits
cheesegrits16mo 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
wotan689116mo ago
Thank you. It was solved with: As per docs, use ->disabled()->dehydrated() when you want a disabled field to bve saved.
wotan6891
wotan6891OP16mo ago
🤝

Did you find this page helpful?