fix search:

This commit is contained in:
2025-10-27 22:29:22 +02:00
parent d598eaa134
commit d1b9855d9c
2 changed files with 5 additions and 0 deletions

View File

@@ -64,6 +64,7 @@ class Home:
self.products_group.controls.clear()
self.add_products(buffer)
self.page.session.set("search_for", None)
self.searchbar.value = ''
def on_acasa_btn_click(self, e):
self.page.go('/')
@@ -164,6 +165,8 @@ class Home:
self.products_group.controls.clear()
self.add_products(buffer)
self.products_group.update()
self.searchbar.value = ''
self.searchbar.update()
def build(self):
return ft.Container(