Skip to content

[5.x]: Custom validation error on slug value does not have clearance/padding on error message #16823

@jamesmacwhite

Description

@jamesmacwhite

What happened?

Description

I have a custom validation rule which prevents certain entries and the slug value being modified e.g.

Image

The error message in the slug field is quite close on the left side and perhaps could do with some padding.

Steps to reproduce

  1. Add a custom validation rule that targets an entry slug
  2. Modify the slug value to trigger the validation
  3. Observe the error message being quite slow to the left side.

Craft CMS version

5.6.10.2

PHP version

8.3

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions