In the documentation for the EntityComboBox i see in the end of the page that is possible to use a formatter element, but when i try to implement it on my code i get an error (the only suggested tags are actions and validators).


Hi @matar.loum.91

It’s a mistake in the docs, EntityComboBox does not support a Formatter. Use OptionCaptionProvider instead, for example:

@Install(to = "userCombo", subject = "optionCaptionProvider")
private String userComboOptionCaptionProvider(User user) {
    return String.format("%s %s", user.getFirstName(), user.getLastName());

We’ll update the docs ASAP, thank you for spotting the problem!