<div class="input-field col s12" style="margin-top: 30px; margin-bottom:10px; ">
<select ng-model="formData.estadoActi" name="form.estadoActi">
<option value="" disabled selected >Selecciona la opcion</option>
<option value="En proceso">En proceso</option>
<option value="Terminada">Terminada</option>
</select>
<label >Seleccione el estado</label>
I want to know how I can create a function in angularjs so that when I press a button, the select will take its default value which would select its status . Try modifying putting its value empty but it did not work since the same value that I had selected keeps appearing and the idea is that I put the default value:
$scope.reset = function() {
$scope.form.estadoActi="";
};