Skip to content

Remote Options

This example shows optionsFrom with ResourceManager.

ts
ResourceManager.register('getCities', async (params) => api.getCities(params))
ts
{
  id: 'city',
  type: 'select',
  optionsFrom: {
    requestKey: 'getCities',
    params: { province: '${province}' }
  }
}