                                 (rf/dispatch [:re-form/add-validation-errors form-name e-path e])))
                             acc)
 
-                          (conj acc res)))))
+                          (conj acc res)))
+                      acc))
                   []
                   validators)]
       (rf/dispatch [:re-form/validation-errors form-name {path errors}]))))


(rf/reg-sub-raw
 :re-form/input-errors
 (fn [db [_ form-name path]]
   (let [cur (reagent/cursor db [:re-form form-name :errors path])]
     (reaction @cur))))

(rf/reg-sub-raw
 :re-form/form-value

  (when-not (empty? validators)
    (let [errors
          (reduce (fn [acc validator]
                    (if-let [res (validator val path)]
                      (if (or (vector? res) (list? res))
                        (into acc res)

