Entity Combobox in Filter by default

Back in Cuba platform when selecting properties in a filter of a generated studio list view of an entity, if that property was a many to one relationship to another entity, the filter would automatically add an combo box entity to the filter.

Is this still possible in jmix without creating a custom propertyFilter in the XML?

Hi!

At the moment this functionality is not available.
I created an implementation issue: Support entityFieldType and entityFieldActions application properties · Issue #3331 · jmix-framework/jmix · GitHub

Regards,
Dmitriy

Hi!

The issue has been completed and the functionality will be available in the upcoming release 2.3.
Unlike the classic UI, the jmix.ui.component.entity-field-fqn property will now be available.

You will need to specify which component you want to use to select entity.
For example:

jmix.ui.component.entity-field-fqn.User = io.jmix.flowui.component.combobox.EntityComboBox
jmix.ui.component.entity-field-actions.User = entity_lookup, entity_open, entity_clear

Best regards,
Dmitriy

1 Like