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

Select Component - Cannot update during an existing state transition #90

Closed
mrbarletta opened this issue Mar 12, 2017 · 1 comment
Closed

Comments

@mrbarletta
Copy link

A Select component using CUSTOM data + RefreshOn Anychange (data) fails with error

setState(...): Cannot update during an existing state transition (such as within `render` or another component's constructor). Render methods should be a pure function of props and state; constructor side-effects are an anti-pattern, but can be moved to `componentWillMount`.

Reproduction : Using an existing form

  1. Create Select component
  2. Set Data source of Select component as Custom.
  3. Fill data source with values=[{ label: '1', name:'one'}]
  4. Refresh React page that points to the said form and type anything on the form.
@randallknutson
Copy link
Contributor

Thanks for the report on this. I've seen it but wasn't sure how to track it down. Will be fixed in the next release.

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

2 participants