We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When the options in TableController.table changes, they are not used => previous options are kept.
I look in the code. I think it because '...options' is missing when we setOptions on tableInstance.
Current code :
this.tableInstance.setOptions(prev => ({ ...prev, state: { ...this._tableState, ...options.state }, onStateChange: (updater: any) => { this._tableState = updater(this._tableState) this.host.requestUpdate() options.onStateChange?.(updater) }, })) ` Fix code : `js this.tableInstance.setOptions(prev => ({ ...prev, ...options, state: { ...this._tableState, ...options.state }, onStateChange: (updater: any) => { this._tableState = updater(this._tableState) this.host.requestUpdate() options.onStateChange?.(updater) }, })) `
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When the options in TableController.table changes, they are not used => previous options are kept.
I look in the code. I think it because '...options' is missing when we setOptions on tableInstance.
Current code :
The text was updated successfully, but these errors were encountered: