console.log(test)
The picture shows django's data by using console.log(test) in react.
my code
<Select placeholder="Select a player" style={{ width:'150px' }}>
<Option>{test.name}/Option>
</Select>
What I want is to put the name of the test data in the select option.
How can I get what I want?