Skip to content

Slug readonly UI issue #6879

Closed
Closed
@Fayne

Description

@Fayne

Description:

Slug can still be edited on the UI when readonly is set to true.
But I did a test and the backend logic is correct. Even if the slug field is edited, the backend does not save it.

Detailed steps to reproduce the issue on a fresh Nova installation:

Slug::make('Slug')->from('name')->readonly(function () use ($request) {
        return $request->isUpdateOrUpdateAttachedRequest();
}),

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugVerified bug by the Nova teamfix incomingA fix is in review

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions