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: always show at least last selected item as a chip #6702

Merged
merged 3 commits into from
Oct 27, 2023

Conversation

web-padawan
Copy link
Member

@web-padawan web-padawan commented Oct 26, 2023

Description

Fixes #4821

Added --vaadin-multi-select-combo-box-chip-min-width custom CSS property with the default value of 50px, which allows to fit one letter plus ellipsis, while also keeping enough space for the <input> element and clear button.

Type of change

  • Feature

Before

Screenshot 2023-10-26 at 15 44 51

After

Screenshot 2023-10-26 at 15 44 28

@sonarcloud
Copy link

sonarcloud bot commented Oct 26, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
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

@web-padawan web-padawan merged commit 0dd89ef into main Oct 27, 2023
9 checks passed
@web-padawan web-padawan deleted the feat/mscb-show-one-chip branch October 27, 2023 06:33
@vaadin-bot
Copy link
Collaborator

This ticket/PR has been released with Vaadin 24.3.0.alpha3 and is also targeting the upcoming stable 24.3.0 version.

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.

[MultiSelectComboBox] Always show at least last item as chip
4 participants