feat: implement capitalization type option for prompt dialogs#6325
feat: implement capitalization type option for prompt dialogs#6325vakrilov merged 4 commits intoNativeScript:masterfrom
Conversation
Allow setting auto capitalization to "none", "all", "sentences" and "words". This feature works on both Android and iOS.
|
I'm not familiar with NativeScript e2e testing. Am I expected to provide tests or does the label »e2e test needed« mean that someone of the NativeScript team will take care of it? I'd be happy to provide the tests myself but I'll probably need some help / reviews and input to get me started on NativeScript e2e testing.
Am I on the right track? Is there anything special about this repository that differs from the guide? Please let me know how we can continue with this PR @vakrilov |
|
Hey @hettiger You are not expected to provide and e2e test about this PR (the |
|
Thank you for your feedback @vakrilov
Let me know if there's anything missing. |
|
LGTM! |
|
test |
|
test |
|
Hi @hettiger , Congratulations on being one of the winners in the {N} First-time contributors contest! You can claim your prize by contacting us at nativescriptwinners[at]progress.com not later than Nov 30th 2018 . Make sure you send us the following info: Best regards, |
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Allow setting auto capitalization to "none", "all", "sentences" and "words".
This feature works on both Android and iOS.
Closes: #6326
PR Checklist
What is the current behavior?
Prompt dialogs do not support auto capitalization.
This leads to a bad user experience and bad input.
What is the new behavior?
It's now possible to set a capitalization type on the PromptOptions object.
Example:
(The new property is:
capitalizationType: capitalizationType.sentences)There are no breaking changes to be expected.
The new property is optional.
Test Results
iOS
Android