First of all, selectedIndex should accept a null value secondly if we do pass the -1 value the toggle behaves like this 