-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Description
Description
We are trying to implement a search bar that is enabled in certain situations, and disabled in others. As well as using the property to dismiss the keyboard on search. Although adjusting the "IsEnabled" property of a SearchBar does not seem to change the functionality of the Control. Even when "IsEnabled" is set to false, the search bar is fully functional and allows user input.

Steps to Reproduce
- Create a new .NET Maui project
- Create a SearchBar Control
- Set the IsEnabled property to false
Link to public reproduction project repository
https://github.com/CRebeloCSS/SearchBarEnabledBug
Version with bug
7.0 (current)
Last version that worked well
Unknown/Other
Affected platforms
iOS, Android
Affected platform versions
iOS 16.2, Android 12.0
Did you find any workaround?
No for the moment, for the use of dismissing the keyboard on search, setting the "IsVisible" to false, then back to true immediately after, will dismiss the keyboard, but the user can still interact with the search bar, this does not appear to work on iOS devices.
Relevant log output
No response