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: add custom field with slotted label and helper #2292

Merged
merged 7 commits into from
Aug 5, 2021

Conversation

web-padawan
Copy link
Member

Description

The new implementation addresses #94 and #146 for vaadin-custom-field.

Note, this PR does not contain customElements.define - that will be done separately in #2209
Before that, we would need to update vaadin-date-time-picker to have its own base class - see #2205

Fixes #2199

Type of change

  • Feature

@web-padawan web-padawan added the a11y Accessibility issue label Aug 2, 2021
Copy link
Contributor

@sissbruecker sissbruecker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only found suggestions for improving / refactoring existing code. Feel free to declare this as out-of-scope.

packages/custom-field/src/vaadin-custom-field.js Outdated Show resolved Hide resolved
packages/custom-field/test/custom-field.test.js Outdated Show resolved Hide resolved
packages/custom-field/test/custom-field.test.js Outdated Show resolved Hide resolved
packages/custom-field/test/custom-field.test.js Outdated Show resolved Hide resolved
packages/custom-field/test/keyboard.test.js Show resolved Hide resolved
packages/custom-field/test/keyboard.test.js Show resolved Hide resolved
@sonarcloud
Copy link

sonarcloud bot commented Aug 5, 2021

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 4 Code Smells

No Coverage information No Coverage information
4.3% 4.3% Duplication

@web-padawan web-padawan merged commit 19bf4e7 into master Aug 5, 2021
@web-padawan web-padawan deleted the feat/custom-field branch August 5, 2021 11:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a11y Accessibility issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add custom-field base class using new mixins
2 participants