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

feat: change CheckSelectColumn plugin to native HTML for CSP safe code #973

Merged
merged 2 commits into from
Jan 16, 2024

Conversation

ghiscoding
Copy link
Collaborator

  • change Column interface name to also accept DocumentFragment
  • change headerColumnValueExtractor to also accept DocumentFragment
  • add getHtmlStringOutput() util to get HTML from any type of input (string, number, HTMLElement or DocumentFragment), which is especially useful with DocumentFragment which doesn't return HTML by default
  • increase grid height in demo to fully test the checkbox count shown in current page (when using Pagination) in Cypress E2E tests

cc @JesperJakobsenCIM , I think (hope) this is the last piece to convert to native for CSP safe

- change Column interface `name` to also accept `DocumentFragment`
- change `headerColumnValueExtractor` to also accept `DocumentFragment`
- add `getHtmlStringOutput()` util to get HTML from any type of input (string, number, HTMLElement or DocumentFragment), which is especially useful with `DocumentFragment` which doesn't return HTML by default
- increase grid height in demo to fully test the checkbox count shown in current page (when using Pagination) in Cypress E2E tests
@ghiscoding ghiscoding merged commit bef663c into master Jan 16, 2024
2 checks passed
@ghiscoding ghiscoding deleted the feat/checkbox-plugin-csp branch January 16, 2024 00:02
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

Successfully merging this pull request may close these issues.

2 participants