aboutsummaryrefslogtreecommitdiff
path: root/ufund-ui/src/app/components/cupboard/cupboard.component.html
diff options
context:
space:
mode:
authorsowgro <tpoke.ferrari@gmail.com>2025-04-07 20:39:10 -0400
committersowgro <tpoke.ferrari@gmail.com>2025-04-07 20:39:10 -0400
commiteeec3e68327ed5b989680a74893e2dcee3ff3e22 (patch)
tree86a3cbfb1adde64059b7ac1d5485738881eddde4 /ufund-ui/src/app/components/cupboard/cupboard.component.html
parentcd102e56a04d13adb38bd0869eb9eb28c63f74c2 (diff)
downloadJellySolutions-eeec3e68327ed5b989680a74893e2dcee3ff3e22.tar.gz
JellySolutions-eeec3e68327ed5b989680a74893e2dcee3ff3e22.tar.bz2
JellySolutions-eeec3e68327ed5b989680a74893e2dcee3ff3e22.zip
Fix sorting and searching bugs, save sort mode and algo to localStorage
Diffstat (limited to 'ufund-ui/src/app/components/cupboard/cupboard.component.html')
-rw-r--r--ufund-ui/src/app/components/cupboard/cupboard.component.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/ufund-ui/src/app/components/cupboard/cupboard.component.html b/ufund-ui/src/app/components/cupboard/cupboard.component.html
index 8f6901a..2d3fa7c 100644
--- a/ufund-ui/src/app/components/cupboard/cupboard.component.html
+++ b/ufund-ui/src/app/components/cupboard/cupboard.component.html
@@ -9,8 +9,8 @@
<div id="header2">
<div id="searchArea">
- <form id="search-form" #searchForm="ngForm">
- <input type="text" name="search" class="wide-input sort-scheme" placeholder="Search in {{needs.length}} needs..." (input)="search(searchForm.value)" ngModel>
+ <form id="search-form">
+ <input type="text" name="search" class="wide-input sort-scheme" placeholder="Search in {{needs.length}} needs..." (input)="search(searchForm.value)" #searchForm>
<input type="reset" value="Clear" (click)="search(null)"> <br>
</form>
</div>