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

nodatafound template might need to be lowercase #83

Open
tony-gutierrez opened this issue Jul 8, 2022 · 1 comment
Open

nodatafound template might need to be lowercase #83

tony-gutierrez opened this issue Jul 8, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@tony-gutierrez
Copy link

My browser (chrome) is normalizing the #noDataFound template name to lowercase, thus breaking the functionality.

I have found a bit of documentation on this behavior, it seems like we might want to migrate it to kebab-case.

https://vuejs.org/guide/essentials/component-basics.html#dom-template-parsing-caveats
HTML tags and attribute names are case-insensitive, so browsers will interpret any uppercase characters as lowercase. That means when you’re using in-DOM templates, PascalCase component names and camelCased prop names or v-on event names all need to use their kebab-cased (hyphen-delimited) equivalents

@tony-gutierrez
Copy link
Author

It seems like if you are using pure html for the template tag, its fine...but if you touch that tag with javascript, or copy it (render using react frameworks, etc), it gets converted to lowercase.

@kouts kouts added the enhancement New feature or request label Jul 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants