Jmix 1.5
In editor, I enter a string “ABC DEF” and it saved as that in the database. However, in the table in browse page, it is shown as “ABC DEF”. Why multiple spaces get trimmed? How to avoid that? I want to show the text as it is in the database
Thanks,
Hello @jolisa.chan.store ,
You can use the trim
attribute on TextField
. For example, you can set trim
to false
.
Docs: TextField :: Jmix Documentation
Regards,
Nikita
Hi,
The issue is on the table, not the editor.
The data is saved correctly but is displayed incorrectly
Edit page: multiple spaces available
On the table: trimmed