Combo-box with nameProperty not working as expected

Hi Dev’s!

I am trying to write a plugin and wanted to use the combo-box, with an array of objects attached to the ‘contents’. I properly set ‘nameProperty’ to “name” and ‘valueProperty’ to null which fills the combo-box with the correct values and also puts the correct value inside the value variable on selection.

So, whats is wrong: When selecting an item, the currently selected item name is not shown but is always empty. How can i fix that? (When using a plain array with just the names and settings nameProperty also to null everything works as expected in the UI)

hbs file:

...
      {{combo-box
              value=repo
              content=repos
              valueProperty=null
              nameProperty="name"
      }}
...

repos value:

ux:

small video:

Thanks!

1 Like