Skip to content

reference field in referenced_list? #637

@TimoSolo

Description

@TimoSolo

Is it possible to have a reference field within a referenced list? eg:

nga.field('accounts', 'referenced_list') // display list of related accounts
    .targetEntity(accounts) 
    .targetReferenceField('voip_id')
    .targetFields([
        nga.field('id').isDetailLink(true),
        nga.field('date_created'),
        nga.field('user_profile_id'), // <-- this works fine
        nga.field('user_profile_id', 'reference') // <-- it doesn't call the api request for the profile entity
            .label('User Profile')
            .validation({required: true})
            .targetEntity(profiles)
            .targetField(nga.field('username')),
    ])

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions