Remote Options
This example shows optionsFrom with ResourceManager.
ts
ResourceManager.register('getCities', async (params) => api.getCities(params))1
ts
{
id: 'city',
type: 'select',
optionsFrom: {
requestKey: 'getCities',
params: { province: '${province}' }
}
}1
2
3
4
5
6
7
8
2
3
4
5
6
7
8