Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Validation errors for required actions don't show translated messages #42182

@ahus1

Description

@ahus1

Before reporting an issue

  • I have read and understood the above terms for submitting issues, and I understand that my issue may be closed without action if I do not follow them.

Area

admin/ui

Describe the bug

When entering an invalid value like "-1" into the minimum age of authentication, the error message is not shown as text, and not at the UI control element:

Image

Version

main

Regression

  • The issue is a regression

Expected behavior

Show a proper error message, ideally at the input field.

Actual behavior

A error popup, with a message code instead of the text.

How to Reproduce?

Edit a required action, and add a negative value like "-1"

Anything else?

I wanted to do some advanced validation and error message, and this one was blocking me. This is a simple reproducer with the current code.

I'll provide a draft PR and I'm looking for some advanced hints.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions