L
L
Leel Usama2020-05-17 19:10:48
React
Leel Usama, 2020-05-17 19:10:48

How to set initial state of select multiple tag in React?

Code
In console warning:

Use the `defaultValue` or `value` props on instead of setting `selected` on .


Update:
Corrected version

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question