Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[number field] validation error message is always empty #5749

Closed
KochTobi opened this issue Apr 6, 2023 · 1 comment
Closed

[number field] validation error message is always empty #5749

KochTobi opened this issue Apr 6, 2023 · 1 comment

Comments

@KochTobi
Copy link

KochTobi commented Apr 6, 2023

Description

After entering an invalid number into a number field. The field is correctly invalidated but the error message is always empty. The tooltip contains the correct message.

NumberField numberField = new NumberField();
numberField.setMin(1);

Screenshot 2023-04-06 at 15 25 46

Screenshot 2023-04-06 at 15 26 06

Enter by hand:

Screenshot 2023-04-06 at 15 26 13

The error message is an empty String.

Expected outcome

The error message contains the reason for failing validation.

Minimal reproducible example

NumberField numberField = new NumberField();
numberField.setMin(1);

Steps to reproduce

  1. Enter a value smaller than 1
  2. Empty error message

Environment

Vaadin version(s): 23.3.6
OS: MacOs

Browsers

Issue is not browser related

@yuriy-fix
Copy link
Contributor

Closing as a duplicate of vaadin/flow-components#4618

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants