Description
Dynamically setting the SearchHandler Query property does not update text in the search box. The search box needs to be re-rendered for the text to show up appropriately.
Steps to Reproduce
- Follow these steps https://learn.microsoft.com/en-us/dotnet/maui/fundamentals/shell/search?view=net-maui-7.0
- Dynamically set the
Query property on a page where the search handler search box is visible
- The search box text will not change
Link to public reproduction project repository
N/A
Version with bug
7.0 (current)
Last version that worked well
Unknown/Other
Affected platforms
iOS, Android
Affected platform versions
iOS 16.2, Android 13
Did you find any workaround?
After setting the Query property, do the following:
SearchBoxVisibility = SearchBoxVisibility.Hidden;
SearchBoxVisibility = SearchBoxVisibility.Expanded;
Relevant log output
No response
Description
Dynamically setting the SearchHandler Query property does not update text in the search box. The search box needs to be re-rendered for the text to show up appropriately.
Steps to Reproduce
Queryproperty on a page where the search handler search box is visibleLink to public reproduction project repository
N/A
Version with bug
7.0 (current)
Last version that worked well
Unknown/Other
Affected platforms
iOS, Android
Affected platform versions
iOS 16.2, Android 13
Did you find any workaround?
After setting the
Queryproperty, do the following:SearchBoxVisibility = SearchBoxVisibility.Hidden;SearchBoxVisibility = SearchBoxVisibility.Expanded;Relevant log output
No response