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

MultiSelectTree does not show the placeholder text #4618

Closed
pepinho24 opened this issue Jul 14, 2023 · 3 comments
Closed

MultiSelectTree does not show the placeholder text #4618

pepinho24 opened this issue Jul 14, 2023 · 3 comments
Assignees
Labels
Bug Something isn't working

Comments

@pepinho24
Copy link

Describe the bug
The updated MultiSelectTree rendering and output do not show the placeholder text:

To reproduce
Run the Empty MultiSelectTree test

Expected behavior
The MultiSelectTree... text should be visible in the input-like element.

Affected suites (please remove the unneeded items)

  • Kendo UI for jQuery
  • Kendo UI for Angular
  • Kendo UI for React
  • Kendo UI for Vue
  • Telerik UI for Blazor

Additional context
The issue comes from the width: 100% style for the k-input-values selector. Potential fix that needs further testing could be:

.k-input-values {
  width: auto;
  max-width: 100%;
}
@vladislavstratan
Copy link

+1

@erothfield
Copy link

erothfield commented Dec 6, 2023

The issue comes from the width: 100% style for the k-input-values selector. Potential fix that needs further testing could be:

.k-input-values {
width: auto;
max-width: 100%;
}

Using this workaround, the clear button is no longer pushed to the far right.

This rule worked for me:
.k-input-values:not(:has( * )) /* the taglist does not have any children (chips) */

Update:
After updating to 14.2, that rule doesn't work for me anymore. Now using:
.k-input-values:has(~ .k-input-inner)

@inikolova
Copy link
Contributor

Fixed with a04fad2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants