-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/filacms 23 #29
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi Jeremy,
Can you please add:
- validation for when the record is being updated, not just created (the user is able to change the slug)
- test cases for this new functionality
However, I'd suggest you look at the Filament docs for validation:
https://filamentphp.com/docs/3.x/forms/validation
If the user has entered a slug, we want them to experience an error, not just having a new number appended to the slug. We should only increment the slug if it's being autogenerated because of a blank slug.
No description provided.