Should fix invoice error
This commit is contained in:
@@ -53,7 +53,7 @@
|
|||||||
]))
|
]))
|
||||||
|
|
||||||
(defn typeahead- [params]
|
(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))}
|
:value {:value ((:value-fn params identity) (:value params)) :label ((:content-fn params identity) (:value params))}
|
||||||
:tippy nil
|
:tippy nil
|
||||||
:search ""
|
:search ""
|
||||||
@@ -187,7 +187,7 @@
|
|||||||
|
|
||||||
|
|
||||||
(defn multi-typeahead- [params]
|
(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) {
|
:reset_elements (js-fn "function(e) {
|
||||||
this.elements = [{value: 'all', label:'All'}].concat(e);
|
this.elements = [{value: 'all', label:'All'}].concat(e);
|
||||||
this.active = -1
|
this.active = -1
|
||||||
|
|||||||
Reference in New Issue
Block a user