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

Org chart does not update when value property changes #382

Closed
ghost opened this issue Apr 12, 2018 · 1 comment
Closed

Org chart does not update when value property changes #382

ghost opened this issue Apr 12, 2018 · 1 comment
Assignees
Labels
Type: Bug Issue contains a defect related to a specific component.
Milestone

Comments

@ghost
Copy link

ghost commented Apr 12, 2018

I'm submitting a ... (check one with "x")

[ X] bug report
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://forum.primefaces.org/viewforum.php?f=57

Plunkr Case (Bug Reports)
Link to plunker

Current behavior
When the Org Chart's 'value' property is updated the chart does not re-display with the new data.

Expected behavior
The chart should refresh

Minimal reproduction of the problem with instructions
See the plunker above.

  • React version:
    16.2.0

  • PrimeReact version:
    1.5.1

  • Browser: Chrome 65.0.3325 | Firefox 59.0.2

  • Language: TypeScript 2.8.1 | Whatever plunker uses

sswebcoder added a commit to sswebcoder/primereact that referenced this issue Apr 17, 2018
@mertsincan mertsincan self-assigned this Apr 25, 2018
@mertsincan mertsincan added the Type: Bug Issue contains a defect related to a specific component. label Apr 25, 2018
@mertsincan mertsincan added this to the 1.6.0 milestone Apr 25, 2018
@mertsincan
Copy link
Member

Thanks a lot for the PR! I think we can solve it without setState. Fixed now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a defect related to a specific component.
Projects
None yet
Development

No branches or pull requests

1 participant