Skip to content

Reference list ui-select drop down not populated #1213

@Phocea

Description

@Phocea

Description

Reference list ui-select drop down not populated correctly on 1.0.0-alpha7

Steps to Reproduce

With @jpetitcolas help I got plunkr working and can validate this bug occurs since the Alpha 6 release

Code working on Alpha5: http://plnkr.co/edit/f9rIMxVwG1FVP54fgmKk

Code not working in Alpha 7: http://plnkr.co/edit/JkgrLFgvz7jP6Ee6w0m9

Culprit is this part of the code not rendering in the updated ui-select component:

nga.field('boss_id', 'reference')
       .label('Boss')
      .targetEntity(bosses)
      .targetField(nga.field('id')),

Expected behavior:
The drop down list of Bosses ID is displayed when clicked on it, in the edit view of a User
The user 'Cathy' Boss ID (1) is displayed in the edit view of this user

Actual behavior:
The drop down list of Bosses ID is not displayed when clicked on it, in the edit view of a User
The user 'Cathy' Boss ID is not displayed in the edit view of this user

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions