Should fix invoice error

This commit is contained in:
2025-01-20 15:49:30 -08:00
parent 084df59149
commit 747bf66206

View File

@@ -53,7 +53,7 @@
]))
(defn typeahead- [params]
[:div.relative {:x-data (hx/json { :baseUrl (:url params)
[:div.relative {:x-data (hx/json { :baseUrl (str (:url params))
:value {:value ((:value-fn params identity) (:value params)) :label ((:content-fn params identity) (:value params))}
:tippy nil
:search ""
@@ -187,7 +187,7 @@
(defn multi-typeahead- [params]
[:div.relative {:x-data (hx/json {:baseUrl (:url params)
[:div.relative {:x-data (hx/json {:baseUrl (str (:url params))
:reset_elements (js-fn "function(e) {
this.elements = [{value: 'all', label:'All'}].concat(e);
this.active = -1