textChangeEventMode EAGER bug with trimmed spaces

Reproducing steps:

  • make an entity with a text field (mandatory in my case, but don’t know if this is necessary)
  • create browse/edit screens
  • change textChangeEventMode to EAGER in the edit screen
  • try to enter a space at the end of the line in the text field in the edit screen
    eagertextchangebug.zip (87.2 KB)


By default, TextField trims white spaces at the start and the end of the text. Since you set textChangeEventMode="EAGER" this mechanism triggers immediately. If you really need EAGER mode for your text field, then add trim="false" attribute to it.


Thanks, didn’t know that. It works. :slight_smile: