                  :label label
                  :placeholder (-> field name (str "..."))
                  :type (or type "text")
-                 :value (or (field @into-atom) "")
+                 :default-value (or (field @into-atom) "")
                  :on-change #(swap! into-atom assoc field (.-value %2))}])
 
 (defn add-user []

        [na/dropdown {:default-value (or @category "")
                      :options (na/dropdown-list categories :db/id :category/name)
                      :on-change #(reset! category (.-value %2))}]]
       [na/form-input {:inline? true
                       :label "Vendor"
                       :placeholder "Vendor..."
                       :type "text"
                       :value @new-vendor
                       :on-change (na/>atom new-vendor)}]
       [na/form-button {:on-click #(do (>evt [:add-vendor @category @new-vendor])
                                       (reset! new-vendor ""))

         (when admin?
           [na/text-area {:placeholder "Entities..."
                          :rows 5
                          :default-value @entities
                          :on-change (na/>atom entities)}])
         (when admin?
           [na/form-button {:on-click (na/>event [:load-entities (reader/read-string (str "[" @entities "]"))])
