Closed TomGallon closed 8 years ago
I'm not sure what to do about this
There is already a check inside the props which is cleaner.
You are not forced to use the connectToForm
you could provide the props
with another way.
But maybe we could add a hint inside the error message. https://github.com/get-focus/focus-graph/blob/master/src/behaviours/field.js#L33
Duplicate issue : https://github.com/get-focus/focus-graph/issues/73
--> i did not have defined a connectToForm. When i use
fieldFor
, an error appears saying the entityPathArray is not defined.==> it should have been great to have a error message saying you cannot use a fieldFor without defining a connectToForm. But i not sure it is possible.