Upper-case conversion for TypedTextField

Hi Jmix Support,

My system has certain field of data which are case-sensitive and require full uppercase letters, and back in CUBA we can simply use the attribute caseConversion=“UPPER” to solve this.

However in Jmix, the only option is the “autocapitalize” attribute, which I have found out in some other forum posted on 2023, that this attribute does not affect the behavior of an input coming from a physical keyboard.

Will this issue be addressed in the future version of Jmix? And if we were expected to configure the uppercase conversion ourselves in the meantime, what is your suggestion on the best method or approach to do so?

Hi,

Vaadin’s TextField which we extend, doesn’t support the caseConversion attribute. We have a GitHub issue to implement this attribute.

As a alternative solution, I’d recommend creating a custom DataType that transforms string to upper case.

Regards,
Gleb

1 Like