I need to show pre selected data which is coming from API in select element but unable to do so.
In this case:
You have to check the configuration of Select element.
- Make sure the Data source is ‘OBJECT’ in case fetching data from an API.
- ‘Data path’ should appropriate according to the API.
- Mainly, In source code: Provide the Code value pair in the same format in which getting the data from the API.