jeudi 25 février 2021

How to make selected value always appear as first option in React Select?

enter image description here

I want to make selected option to render as first option in my dropdown. eg heading3 should be the first item in dropdown highlighted with blue color and similarly if I change the selected value to heading2 then it should be the first option in dropdown




Aucun commentaire:

Enregistrer un commentaire