All data on checks are now set up.
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
[auto-ap.subs :as subs]
|
||||
[auto-ap.events.admin.vendors :as events]
|
||||
[auto-ap.entities.vendors :as entity]
|
||||
[auto-ap.entities.address :as address]
|
||||
[clojure.spec.alpha :as s]
|
||||
[auto-ap.views.utils :refer [login-url dispatch-value-change dispatch-event bind-field horizontal-field]]
|
||||
[cljs.reader :as edn]
|
||||
@@ -98,8 +99,8 @@
|
||||
[bind-field
|
||||
[:input.input.is-expanded {:type "text"
|
||||
:placeholder "1700 Pennsylvania Ave"
|
||||
:field :address1
|
||||
:spec ::entity/address1
|
||||
:field [:address :street1]
|
||||
:spec ::address/street1
|
||||
:event ::events/change
|
||||
:subscription editing-vendor}]]]]
|
||||
|
||||
@@ -109,8 +110,8 @@
|
||||
[bind-field
|
||||
[:input.input.is-expanded {:type "text"
|
||||
:placeholder "Suite 400"
|
||||
:field :address2
|
||||
:spec ::entity/address2
|
||||
:field [:address :street2]
|
||||
:spec ::address/street2
|
||||
:event ::events/change
|
||||
:subscription editing-vendor}]]]]
|
||||
|
||||
@@ -121,8 +122,8 @@
|
||||
[bind-field
|
||||
[:input.input.is-expanded {:type "text"
|
||||
:placeholder "Cupertino"
|
||||
:field :city
|
||||
:spec ::entity/city
|
||||
:field [:address :city]
|
||||
:spec ::address/city
|
||||
:event ::events/change
|
||||
:subscription editing-vendor}]]]
|
||||
[:div.control
|
||||
@@ -130,16 +131,16 @@
|
||||
[bind-field
|
||||
[:input.input {:type "text"
|
||||
:placeholder "CA"
|
||||
:field :state
|
||||
:spec ::entity/state
|
||||
:field [:address :state]
|
||||
:spec ::address/state
|
||||
:event ::events/change
|
||||
:subscription editing-vendor}]]]
|
||||
[:div.control
|
||||
[:p.help "Zip"]
|
||||
[bind-field
|
||||
[:input.input {:type "text"
|
||||
:field :zip
|
||||
:spec ::entity/zip
|
||||
:field [:address :zip]
|
||||
:spec ::address/zip
|
||||
:event ::events/change
|
||||
:subscription editing-vendor
|
||||
:placeholder "95014"}]]]]
|
||||
|
||||
Reference in New Issue
Block a user