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

docs: add label property JSDoc annotation to vaadin-item #6919

Merged
merged 2 commits into from Dec 7, 2023

Conversation

web-padawan
Copy link
Member

Description

Fixes vaadin/react-components#147

We are using the label attribute in vaadin-select to get the item label, but it's currently not documented:

const label = selected.getAttribute('label');

This change adds the label property to vaadin-item API docs (and also web-types.json):

Screenshot 2023-12-07 at 10 30 07

Type of change

  • Documentation

Copy link

sonarcloud bot commented Dec 7, 2023

SonarCloud Quality Gate failed.    Quality Gate failed

Bug C 1 Bug
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

idea Catch issues before they fail your Quality Gate with our IDE extension sonarlint SonarLint

@web-padawan web-padawan merged commit 17bdcd8 into main Dec 7, 2023
8 of 9 checks passed
@web-padawan web-padawan deleted the docs/item-label-property branch December 7, 2023 08:58
web-padawan added a commit that referenced this pull request Dec 7, 2023
Co-authored-by: Serhii Kulykov <iamkulykov@gmail.com>
web-padawan added a commit that referenced this pull request Dec 7, 2023
… 23.3) (#6923)

Co-authored-by: Serhii Kulykov <iamkulykov@gmail.com>
web-padawan added a commit that referenced this pull request Dec 7, 2023
Co-authored-by: Serhii Kulykov <iamkulykov@gmail.com>
web-padawan added a commit that referenced this pull request Dec 7, 2023
Co-authored-by: Serhii Kulykov <iamkulykov@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Item is missing the label property
3 participants