Closed irfan-globiance closed 4 months ago
Is that what you want to achieve?
dropdownRef.current.selectIndex(2)
....
....
<SelectDropdown ref={dropdownRef} >
but the thing is not working bro i want to reset my dropdown when i select first the other dropdown should be reset the value because it is connected to above or first dropdown
dropdownRef.current.reset()
hi get the data from API and want to set select index on runtime