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

Some components ignore a data-* attributes #5327

Closed
bossa-jpg opened this issue May 26, 2022 · 2 comments
Closed

Some components ignore a data-* attributes #5327

bossa-jpg opened this issue May 26, 2022 · 2 comments

Comments

@bossa-jpg
Copy link

Environment

  • Package version(s): blueprintjs/core@4.3.0, blueprintjs/datetime@4.2.0
  • Operating System: macos
  • Browser name and version: chrome 101.0.4951.64

Code Sandbox

I found this problem for <Alert>, <TimePicker> and <NonIdealState> components

Link to a minimal repro: https://codesandbox.io/s/blueprint-sandbox-forked-6drvc0?file=/src/index.tsx

Steps to reproduce

  1. Add data-* attribute to component
  2. Check for the presence of this attribute in DevTools

Actual behavior

The component does not have a data-* attribute

Expected behavior

The component has a data-* attribute

@adidahiya
Copy link
Contributor

Duplicate of #3763, please comment there with the components you wish to use data-* attributes with.

@Gayathri-Kesavakannan
Copy link

How to add data-* for accordion (button) and form (label) ?

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

3 participants