New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recursive cloning of elements is missing top level element #3

Closed
audiolion opened this Issue Aug 8, 2017 · 1 comment

Comments

Projects
None yet
2 participants
@audiolion
Collaborator

audiolion commented Aug 8, 2017

From the examples dir the surrounding dive around the next button won't be rendered currently.

class App extends Component {
  render() {
    return (
      <div className="App">
        <Form rules={{ email: 'email|required', password: 'required|min:8' }}>
          <Input name="email" />
          <Input name="password" type="password" />
          
          <div className="surroundingDivThatWontBeRendered">
            <div
              submit
              onClick={values => console.log('if validation passes, this logs')}
            >
              Submit!
            </div>
          </div>
        </Form>
      </div>
    );
  }
}
@zackify

This comment has been minimized.

Show comment
Hide comment
@zackify

zackify Aug 8, 2017

Member

Easy fix for this, currently making all the tests and once done will add one for this and fix it.

Member

zackify commented Aug 8, 2017

Easy fix for this, currently making all the tests and once done will add one for this and fix it.

@zackify zackify closed this in c3406c4 Aug 8, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment