enisn / UraniumUI

Uranium is a Free & Open-Source UI Kit for MAUI.
Apache License 2.0
1.19k stars 143 forks source link

Have keyboard extensions (show/hide keyboard) on text/entry views #674

Closed YBTopaz8 closed 4 months ago

YBTopaz8 commented 5 months ago

Just wondering if it's possible to have keyboard ext on those? https://learn.microsoft.com/en-us/dotnet/communitytoolkit/maui/extensions/keyboard-extensions

Thanks

enisn commented 4 months ago

Sorry for late response, I couldn'T see this issue before.

You can access the actual entry by EntryView property of TextField.

<material:TextField Title="Name" x:Name="textField"/>
textField.EntryView.HideKeyboardAsync(CancellationToken.None);

TextField exposes the actual entry for public usage. I should add this information to the documentation 👌👍 image