Jmix 2.x helper text as HTML

Hello,

I’ve got a somewhat long-winded description for a field to provide help so users understand the algorithm performed when a text input field value is changed. It would be nice if I could add a link to a modal (or similar) view so the helperText attribute value appears as a link and doesn’t appear as a big block of text below the input. Is there currently a way to do this? If not, it would be a useful addition.

Thanks,
Adam

Hi!

Take a look at the following samples: https://demo.jmix.io/ui-samples/sample/context-help-simple
You can try showing the notification with the content as a HTML component.

Also you can use setHelperComponent method.

I think you can find a case that suits you!

Regards,
Dmitriy

Thank you Dmitriy,

This is what I need!

Most of the struggles I and many others have revolve around decentralized documentation of the framework, and lack of documentation as a whole. You and your team provide excellent support. EXCELLENT! The problem is that I’m usually searching for the information ahead of time in the framework documentation. In this case, the textField page has no mention of context help, and it’s only one example of many missing pieces in the documentation.

I know documentation as a whole is a monumental task, and I’m not trying to tell anyone their business. Rather, I’m just sharing a huge pain point in working with Jmix and CUBA frameworks. I wish the documentation was much, much better.

Thank you again for your help,
Adam

2 Likes