Skip to content

Multilingual slug #75

Description

@Daaaaad

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions