Skip to content

Commit

Permalink
updated form warning
Browse files Browse the repository at this point in the history
  • Loading branch information
awkay committed Feb 9, 2019
1 parent eb249ca commit 290a6ad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/fulcro/ui/form_state.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@

(defn- assume-field [props field]
(when-not (and (seq props) (contains? (some-> props ::config ::fields) field))
(log/error (str "It appears you're using " field " as a form field, but it is *not* declared as a form field on the component. It will fail to function properly."))))
(log/error (str "It appears you're using " field " as a form field, but it is *not* declared as a form field "
"on the component. It will fail to function properly (perhaps you forgot to initialize via `add-form-config`)."))))

(defn form-id
"Returns the form database table ID for the given entity ident."
Expand Down

0 comments on commit 290a6ad

Please sign in to comment.