Unit tests for javascript functions of forms created with UI Designer.


Is there any way to write Unit Tests for javascript functions of forms created in UI Designer?

How to resolve localization display bugs in custom widget

I have a custom widget which upon adding to the form, the display names in the form change to this format: {{ properties.text | uiTranslate }}.

How can I resolve this display issue? It only occurs when I add my custom widget. I have gone through the following documentation page: https://documentation.bonitasoft.com/bonita/7.6/custom-widgets but have not been able to resolve the issue. I am using a community edition of bonita.

How to change the available select values depending on previous input (Country - city)


I am working on a form where a user must input the countries he or she has visited, and according to the answer of this field, a list of appropriate cities loads as available values for the next select field, cities.

However, I am having trouble restricting the available values for the second field because the user can input multiple countries, and then multiple cities within those countries.