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

ui: table - custom table actions are not refreshed when the 'customTableActions' input changes #1315

Closed
christophercr opened this issue Jun 5, 2019 · 0 comments

Comments

@christophercr
Copy link
Collaborator

I'm submitting a...


[ ] Regression (a behavior that used to work and stopped working in a new release)
[X] Bug report  
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead see https://github.com/NationalBankBelgium/stark/blob/master/CONTRIBUTING.md#got-a-question-or-problem

Current behavior

When the customTableActions passed to the Table component change, the custom actions in the table action bar don't change.

Expected behavior

When the customTableActions passed to the Table component change, the custom actions in should be automatically refreshed.

Minimal reproduction of the problem with instructions

  • Pass some custom action to the StarkTable component on initialization via the customTableActions input.
  • After the page has initialized, change the value passed to the customTableActions input.
  • The custom actions in the table are not refreshed and they remain the same when they were initialized.

What is the motivation / use case for changing the behavior?

Provide a stable and reactive Table components.

Environment


Stark version: 10.0.0-beta.7

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

No branches or pull requests

2 participants