Skip to content
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

Merged
merged 11 commits into from
Apr 15, 2024
Merged

Feature/filacms 23 #29

merged 11 commits into from
Apr 15, 2024

Conversation

jeremy-portable
Copy link
Collaborator

No description provided.

Copy link
Contributor

@kyoungportable kyoungportable left a 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.

@kyoungportable kyoungportable merged commit 67c8524 into main Apr 15, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants