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.


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