How to Get Items as props for Custom rendered Dropdown list?

Hi,
In react, I’m trying to implement custom rendering for my Dropdown list and I need to get the Items in my dropdown as props.

  1. How do I get the items as props from my Rest API ?
  2. How do I get the items from the enum in my schema.json file ?

Regards,
VJ

Hi @vijaysince89,

  1. How do I get the items from the enum in my schema.json file ?

Please have a look at the existing implementations, e.g. for Material UI.

  1. How do I get the items as props from my Rest API

Any communication with an external service needs to be manually implemented. So my suggestion is to just query the REST Api in your custom renderer and then reuse the basic implementation you did for (2.)