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

Non-unique ID warning with multiple tables #795

Closed
1 task done
Tyler-RCSD opened this issue Jan 12, 2021 · 0 comments
Closed
1 task done

Non-unique ID warning with multiple tables #795

Tyler-RCSD opened this issue Jan 12, 2021 · 0 comments

Comments

@Tyler-RCSD
Copy link

Issue Type (delete the irrelevant ones)

  • Bug

Specs

What version are you using?
2.21.2
What browser?
Chrome Version 87.0.4280.88

Expected Behavior

Expect not to receive warnings in the console about elements with duplicate IDs

Actual Behavior

When multiple tables on the same page have the search box enabled then more than one element with the id #vgt-search exists.

Steps to Reproduce the Problem

This problem actually exists on the docs page here. Just open DevTools when loading the page and you will see warning:

[DOM] Found 2 elements with non-unique id #vgt-search: (More info: https://goo.gl/9p2vKq) <input id=​"vgt-search" type=​"text" value class=​"vgt-input vgt-pull-left">​

@xaksis xaksis closed this as completed in a246512 Jan 17, 2021
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

No branches or pull requests

1 participant