dotnet / maui

.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
https://dot.net/maui
MIT License
22.04k stars 1.73k forks source link

[MAUI] I5_EmptyView - The data template selector cannot display the correct string. #23330

Open RoiChen001 opened 3 months ago

RoiChen001 commented 3 months ago

Description

The data template selector cannot display the correct string.

Note: This problem only happens on Windows.

Steps to Reproduce

1.Deploy https://devdiv.visualstudio.com/Pkgs/_git/VS.TestAssets.Xaml?path=/Assets/Projects/ManualMauiTests to Windows. 2.Click I5-->Data template selector. 3.Enter Xamarin. 4.Enter a character other than Xamarin.

Actual result: (1)When you enter 'Xamarin', you will get the following result. image (2)When you enter 'abc', you will get 'abc' too. image

Expected result: (1)When you enter 'Xamarin', you should get 'No items to display'. image (2)When you enter 'abc', you should get 'No results matched your filter'. image

Link to public reproduction project repository

https://devdiv.visualstudio.com/Pkgs/_git/VS.TestAssets.Xaml?path=%2FAssets%2FProjects%2FManualMauiTests

Version with bug

8.0.70-ci.net8.24328.1

Is this a regression from previous behavior?

Not a regression, the issue also reproduces on 8.0.61& 8.0.3.

Affected platforms

Windows

github-actions[bot] commented 3 months ago

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.