I have a trigger with the inputs:
...
{
key: 'client_id',
type: 'string',
required: true,
label: 'Client Id',
dynamic: 'client_ids.id.name',
list: false,
altersDynamicFields: true,
},
{
key: 'merchant_id',
type: 'string',
required: true,
label: 'Merchant Id',
dynamic: 'merchant_ids.id.name',
list: false,
altersDynamicFields: false,
}
...
I have a client_ids trigger returning the following to populate the dropdown:
"
{id: 1, name: ‘one},
{id: 2, name: ‘two},
]
In merchant_ids trigger I want to get the name of the field selected from the client_id dropdown."
When I do bundle.inputData.client_id I get the id.
Is there a way to get the name ?