Announcement

Collapse
No announcement yet.

Show the team name in default team filter

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Show the team name in default team filter

    I have a user field and want to show users of the specific team by default.

    client\custom\src\views\entity-a\fields\user-field.js

    getSelectFilters: function () {
    return {
    'teams': {
    type: 'linkedWith',
    value: ['5afb9539793785674'],
    }
    };
    }

    In the web page, only id '5afb9539793785674' is shown in the filter. How can the team name be shown in the filter? thanks.

  • #2
    add also nameHash:{5afb9539793785674: "My team"}

    Comment


    • #3
      thank you

      Comment

      Working...
      X