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 filter shows [object Object] #553

Open
PindaPixel opened this issue Apr 4, 2024 · 1 comment
Open

MultiSelectTree filter shows [object Object] #553

PindaPixel opened this issue Apr 4, 2024 · 1 comment
Assignees
Labels
Bug Item which indicates that something is not working Kendo UI for Vue SEV: Medium

Comments

@PindaPixel
Copy link

PindaPixel commented Apr 4, 2024

Describe the bug
When closing and re-opening the dropdown filter and an item is selected, something calls the onfilterchange event with an object for its value.

To Reproduce
Steps to reproduce the behavior:

https://www.telerik.com/kendo-vue-ui/components/dropdowns/multiselecttree/filtering/

  1. Select an item from the dropdown
  2. Close the dropdown
  3. Re-open the dropdown
  4. Observe the filter field

Expected behavior
Filter should not be altered unexpectedly

Screenshots
If applicable, add screenshots to help explain your problem.
image

Browser

  • OS: Windows
  • Browser: Chrome
  • Version: 123

Additional context
I've narrowed it down to the focusout and blur event types. Even though I explicitly ignore these events and do not alter my filter state variable, the text in the text input remains.

onFilterchange(event: { filter: FilterDescriptor; event: { event?: { type: string } } })
{
    // in the events where I would not expect filter to change, its type is object
    if (typeof event.filter.value !== "string")
    {
        // Even though I do not set my filter ref, the text input still shows `[object Object]` without actually filtering the items.
        return;
    }

    filter.value = event.filter;
}
@iadnonov
Copy link

iadnonov commented Apr 5, 2024

Hey @PindaPixel,

Thank you for reporting the issue. It's look like a valid bug indeed. Our team will fix it as soon as possible.

If you have any other questions, please don't hesitate to submit a ticket in our support system.

Greetings,
Ivaylo

@iadnonov iadnonov added Bug Item which indicates that something is not working SEV: Medium Kendo UI for Vue labels Apr 5, 2024
@zdravkov zdravkov self-assigned this Apr 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Item which indicates that something is not working Kendo UI for Vue SEV: Medium
Projects
None yet
Development

No branches or pull requests

3 participants