Consider this react code:
subTopicOptions = curSubTopics.map((topic) => {
return (
<option value={topic.id}>{topic.name}</option>
)
});
The topic.name
output Environment & Forest
value from rest API to display.
How can I display Environment & Forest
in the select field?