Makes dropdown rerender the page

This commit is contained in:
2023-01-21 22:31:07 -08:00
parent f5ef0e9b64
commit d26f1514d0
2 changed files with 18 additions and 11 deletions

View File

@@ -81,7 +81,6 @@ document.getElementById(\"company-search-value\").dispatchEvent(new Event('chang
"_" (hiccup/raw
"on click
toggle .is-active on <#company-dropdown />
then focus() on next <#company-dropdown input/>
end
")
}
@@ -100,4 +99,6 @@ document.getElementById(\"company-search-value\").dispatchEvent(new Event('chang
(html-response
(dropdown (assoc request :session new-session)))
:session
new-session)))
new-session
:headers
{"hx-trigger" "clientSelected"})))