Closed gcanti closed 8 years ago
@gcanti on a somewhat related note, how do you get the form validation status in the template? The template is outside of the scope of the react component so I can't access this.refs.form.validate()...
how do you get the form validation status in the template?
In
locals.error
if not null
it contains the error messagelocals.hasError
if true
the UI should show the error messageis this true in the form layout template as well? I want to display a summary box rather than just a message next to each element. I was thinking that in the form layout template I could get to those...
I want to display a summary box rather than just a message next to each element
mmh it might be tricky... could you please open another issue with a simple example? I'll think about it
sure, thanks
Released in v0.6.7 and v0.7.3
@gcanti what is the difference between 0.6 & 0.7? When I use 0.6.7 it works fine but when I install 0.7.3 I get this error: Form.render(): A valid ReactComponent must be returned. You may have returned undefined, an array or some other invalid object.
0.7.x uses react 0.14
ah, ok thanks
:+1: