jmix-framework / jmix

Jmix framework
https://www.jmix.io
Apache License 2.0
694 stars 124 forks source link

Error messages are shown below fields when DataGrid Editor is opened #3806

Open glebfox opened 1 month ago

glebfox commented 1 month ago

Environment

Jmix version: 2.3

Bug Description

Custom StatusChangeHandler is set after fields are bound to the ValueSource, as a result, required validation is set as error message (below field).

Steps To Reproduce

  1. Open demo project
  2. Open Approve view
  3. Click create

Current Behavior

Error messages are shown below fields

Screenshot 2024-10-24 at 16 13 15

Expected Behavior

Error messages are shown as tooltips like for editing:

Screenshot 2024-10-24 at 16 07 47

Sample Project

datagrid-test.zip