Skip to content
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

_this2.builder.destroy() is not a function #115

Closed
shamanking opened this issue May 18, 2018 · 3 comments
Closed

_this2.builder.destroy() is not a function #115

shamanking opened this issue May 18, 2018 · 3 comments

Comments

@shamanking
Copy link

I use FormBuilder, as:

render() {
      return (
        <div id="content" className="app-content" role="main">
          <div className="wrapper-md">
            <FormBuilder
              form={{ display: 'form' }}
              onChange={(schema) => this.onChangeFormBuilder(schema)}
            />
          </div>
        </div>
      );
    }

When I move to another component, it has error:

screen shot 2018-05-18 at 10 48 13 am

How can I fixed it ?

@Dmitrylolo
Copy link

Dmitrylolo commented May 18, 2018

I think, it was in advanced react native lessons by Stephen Grider. Video number 137 -callback-gotcha. When you using a callback from child component, you have to bind it in parent component.

I know u watched it :D

@rmillener
Copy link

We're also having this issue when routing to a different page using v2.1.0

@randallknutson are we missing something?

@randallknutson
Copy link
Contributor

Hi all,

Thanks for the bug report. This should be fixed in version 2.1.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants