Refactor constraint message to match core's required field message

Created on 20 April 2021, almost 4 years ago
Updated 25 January 2024, about 1 year ago

Problem/Motivation

The core's validation message for required fields is:
'@name field is required.'
while the message provided by the module's constraint is:
'Field "%field_label" is required when publishing.'

Proposed resolution

I think it would be better to refactor the message to be more similar to the core's one:
'@field_label field is required when publishing.'

✨ Feature request
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡©πŸ‡ͺGermany hchonov πŸ‡ͺπŸ‡ΊπŸ‡©πŸ‡ͺπŸ‡§πŸ‡¬

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024