Fixed bugs where searchresult did not update, where searchlist got duplicated when...
[u/erikhf/frm.git] / src / components / search / search.html
index 5102804..57c19eb 100644 (file)
                     name="livesearch"
                     id="livesearch"
                     placeholder="Search"
-                    value=""/>
+                    value=""
+                    (change)="checkOrgunits()"/>
 
 
             <!--<button class="exitsearch" id="exitsearch" (click)="emptyByClick()">
           &cross; </button>-->
             <button type="button" class="knapp col-md-2" (click)="toggle()"
-                    onclick="$('#ownershipSelector, #typeSelector, #locationSelector').prop('selectedIndex',0);"
                     data-toggle="collapse" data-target="#dropdown-menu">
                 {{ visible ? '&xdtri;' : '&cross;' }}
             </button>