Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

[Bug] SearchHandler not rendering items properly in UWP #11075

Open
brianro opened this issue Jun 16, 2020 · 5 comments
Open

[Bug] SearchHandler not rendering items properly in UWP #11075

brianro opened this issue Jun 16, 2020 · 5 comments

Comments

@brianro
Copy link

brianro commented Jun 16, 2020

Description

In UWP, SearchHandler is not binding properly to the items list, so items are displayed using their default ToString operator => populating the list with class names, making the control unusable in its current form.

image

Steps to Reproduce

  1. Download Xanimals sample application
  2. Run UWP application
  3. Search cats and look at drop down

Expected Behavior

Expect items to be rendered based on binding, binding name and / or template

Actual Behavior

List is drop-down of class names.

Basic Information

ALL FROM DEFAULT XANIMALS PROJECT

  • Version with issue: Latest 6/16/2020
  • Last known good version:
  • IDE: VS 2019
  • Platform Target Frameworks:
    • iOS:
    • Android:
    • UWP:
  • Android Support Library Version:
  • Nuget Packages:
  • Affected Devices:

Screenshots

image

Reproduction Link

Workaround

Override the ToString method to create a display value.

@brianro brianro added s/unverified New report that has yet to be verified t/bug 🐛 labels Jun 16, 2020
@pauldipietro pauldipietro added this to New in Triage Jun 16, 2020
@brianro
Copy link
Author

brianro commented Jun 16, 2020

Works in Android emulator. Went back through all the versions of Xamarin forms until the code broke and would no longer build and none of them work in UWP. Also tried most of the windows platform combinations - also don't work.

@samhouts samhouts added this to Backlog in Shell via automation Jun 26, 2020
@samhouts samhouts added e/3 🕒 3 and removed s/unverified New report that has yet to be verified labels Jun 26, 2020
@samhouts samhouts moved this from New to Ready For Work in Triage Jun 26, 2020
@samhouts samhouts added this to To do in UWP Ready For Work Jun 26, 2020
@samhouts samhouts removed this from Ready For Work in Triage Jun 26, 2020
@samhouts samhouts added this to the 5.0.0 milestone Aug 13, 2020
@samhouts samhouts added this to To do in vNext+1 (5.0.0) Aug 13, 2020
@samhouts samhouts removed this from the 5.0.0 milestone Nov 2, 2020
@brianro
Copy link
Author

brianro commented Nov 11, 2020

@samhouts Are you guys fixing any of the UWP Xamarin issues or do you have a different roadmap or path laid out?

@VolleyTom
Copy link

VolleyTom commented Jan 4, 2022

Hello,
I'm new at Xamarin Forms development, but I have the same issue in my UWP project (Using Xamarin Forms 5.0.0.2291 and Xamarin.Essentials 1.7.0). Is there an estimation, when this issue will be fixed?
br

@phandcock
Copy link

While I wait, as a workaround, I have restricted the search to a single class (not subclasses) as this works for my application. Unfortunately my lack of programming skills and time stop me looking at this in detail.

@AkashDhyani
Copy link

Hi, is there any update on this issue? @samhouts
If anyone has a working solution of this issue, please update.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Shell
  
Backlog
Development

No branches or pull requests

6 participants