-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Description
Hello 👋
I have a multilingual slug in Nova and I would like to ensure that the slug will be unique.
Traditionnal rules do not work in this multilingual context:
Slug::make('Slug') ->from('Title') ->rules('required') ->creationRules('unique:blog_posts,slug') ->updateRules('unique:blog_posts,slug,{{resourceId}}') ->hideFromIndex(),
How to do it?
Regards,
David.
Metadata
Metadata
Assignees
Labels
No labels