                  :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 []

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


(defn input-text [& {:keys [receipt field-key]}]
  [na/input {:type "text"
             :default-value (or (field-key receipt) "")
             :on-change (na/>event [:edit-current-receipt field-key])}])

(defn input-currency [& {:keys [receipt field-key]}]
