addressed all compilation errors.
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
[auto-ap.forms :as forms]
|
||||
[auto-ap.subs :as subs]
|
||||
[auto-ap.views.components.layouts :refer [side-bar]]
|
||||
[auto-ap.views.components.typeahead :refer [typeahead-entity]]
|
||||
[auto-ap.views.components.typeahead :refer [typeahead-v3]]
|
||||
[auto-ap.views.utils :refer [dispatch-event multi-field]]
|
||||
[clojure.spec.alpha :as s]
|
||||
[clojure.string :as str]
|
||||
@@ -138,11 +138,11 @@
|
||||
(field "Customizations"
|
||||
[multi-field {:type "multi-field"
|
||||
:field [:client-overrides]
|
||||
:template [[typeahead-entity {:matches @(re-frame/subscribe [::subs/clients])
|
||||
:style {:width "20em"}
|
||||
:match->text :name
|
||||
:type "typeahead"
|
||||
:field [:client]}]
|
||||
:template [[typeahead-v3 {:entities @(re-frame/subscribe [::subs/clients])
|
||||
:style {:width "20em"}
|
||||
:entity->text :name
|
||||
:type "typeahead-v3"
|
||||
:field [:client]}]
|
||||
[:input.input {:type "text"
|
||||
:style {:width "20em"}
|
||||
:placeholder "Bubblegum"
|
||||
|
||||
@@ -2,8 +2,7 @@
|
||||
(:require
|
||||
[re-frame.core :as re-frame]
|
||||
[auto-ap.subs :as subs]
|
||||
[auto-ap.views.utils :refer [active-when dispatch-value-change]]
|
||||
[auto-ap.views.components.typeahead :refer [typeahead-entity]]))
|
||||
[auto-ap.views.utils :refer [active-when dispatch-value-change]]))
|
||||
|
||||
|
||||
(re-frame/reg-sub
|
||||
|
||||
Reference in New Issue
Block a user