Skip to content

Required rule message is hard coded to use key for error #198

Description

@elliotcav

What

when using the required rule if you trigger an error it is hard coded to use the {{key}} rather than the {{name}} like other rules preventing overwriting for user friendly error messages.

$validator->required('email_address', 'Your Email');

What is expected

Default message to read 'Your Email must be provided, but does not exist'

Actual

'email_address must be provided, but does not exist'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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