-
Notifications
You must be signed in to change notification settings - Fork 757
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: EnterKeyHint
#13336
base: master
Are you sure you want to change the base?
feat: EnterKeyHint
#13336
Conversation
#elif __ANDROID__ | ||
MyTextBox.ImeOptions = ImeAction.Search; | ||
#elif __WASM__ | ||
MyTextBox.EnterKeyHint = EnterKeyHint.Search; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be be creating an attached property that includes this behavior instead? After all, this is Search
everywhere and we could hide platform specifics from the user.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like Jerome's suggestion. It will highly simplify the usage.
This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or it will be closed in 10 days. |
512b270
to
b14e1a5
Compare
GitHub Issue (If applicable): closes #13347
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Missing support
What is the new behavior?
Support for
EnterKeyHint
in WebAssembly.Copilot Summary
🤖 Generated by Copilot at d25b09d
This pull request adds support for the
EnterKeyHint
property to theTextBox
control on WebAssembly, which allows specifying the text and behavior of the enter key on the virtual keyboard. It also adds a new sample page to the SamplesApp project and a new section to the documentation article to demonstrate the usage of the property. Additionally, it refactors some existing code to use the nameof operator for dependency property names.PR Checklist
Please check if your PR fulfills the following requirements:
Screenshots Compare Test Run
results.Other information
Internal Issue (If applicable):