dotnet/maui

ReturnType API for SearchBar like for Entry

Open

#19,872 opened on Jan 12, 2024

View on GitHub
 (2 comments) (0 reactions) (0 assignees)C# (23,245 stars) (1,951 forks)batch import
area-controls-entryarea-keyboardgood first issueproposal/opent/enhancement ☀️

Description

Description

It would be great to have ReturnType API for SearchBar like it is done for Entry.

Public API Changes

<SearchBar
    ReturnType="Done">
</SearchBar>

Intended Use-Case

When developer implements realtime search using SearchBar, "Search" button on keyboard doesn't make sense. "Done" option should be available for this case.

Contributor guide