How do I get the select back to the initial state after the deselect?

0

How can I make a return to the "start state" when I deselect a specific select option?

Here is a simulation of my problem: link

    
asked by anonymous 23.11.2016 / 21:05

2 answers

0

If I understand, in your case you have to go through all the options and deselect one by one. Then just select the selected one. I hope I have helped.

    
23.11.2016 / 21:14
0

See if this is what you want:

<select class="selectpicker" id="funcao">
    <option title="Opção 1">Líder</option>
    <option title="Opção 2">Para Conhecimentor</option>
    <option title="Opção 3">Participante</option>
 </select>

Font

    
23.11.2016 / 22:03