 
 (defui ValidatedPhoneRoot
   static om/IQuery
-  (query [this] [{:phone (om/get-query ValidatedPhoneForm)}])
+  (query [this] [:ui/form {:phone (om/get-query ValidatedPhoneForm)}])
   static uc/InitialAppState
   (initial-state [this params]
     (let [phone-number {:db/id 1 :phone/type :home :phone/number "555-1212"}]

  each represented by a nested phone number entity/form. Note the use of `InitialAppState` in Root to build out sample
  data.
  "
  (dc/mkdn-pprint-source PhoneForm)
  (dc/mkdn-pprint-source PersonForm)
  (dc/mkdn-pprint-source Root)
  "

            [untangled.client.core :as uc]
            [untangled.client.mutations :as m]))

(declare add-phone-mutation ValidatedPhoneForm)

(defn field-with-label
  "A non-library helper function, written by you to help lay out your form."
  ([comp form name label] (field-with-label comp form name label nil))
