-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Disable autocorrect in server settings input fields #7372
Disable autocorrect in server settings input fields #7372
Conversation
Welcome @bernhard-fp 👋 Thanks for wanting to contribute. We're currently rewriting the account setup using Jetpack Compose. The new code can be found here:
The layout you've changed will be removed soon. So, sadly, this is not what we're looking for. Issue #7361 contains a comment with links to the relevant documentation for Compose. Since we're wrapping Material composables to create our own design system, support for being able to specify |
@cketti Thank you. So I think I can start adding a new value keyboardOptions to IncomingFormItems->TextInput and set the autoCorrect value to false in the both screens you mentioned. |
You should be able to copy the approach from one of the Material Composables we're wrapping, e.g. Using |
Hi @cketti, I reverted this first commit and added the KeyboardOptions to the belonging classes. |
...n/kotlin/app/k9mail/feature/account/server/settings/ui/incoming/content/IncomingFormItems.kt
Outdated
Show resolved
Hide resolved
Ok, added the change to both (incoming and outgoing) |
@cketti Could you please test if it matches the desired functionality? |
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.
Almost there 👍
Note: After changing a pull request, it's usually a good idea to do a self review to see if you missed something (like applying a change to all occurrences of a particular pattern).
...n/kotlin/app/k9mail/feature/account/server/settings/ui/incoming/content/IncomingFormItems.kt
Outdated
Show resolved
Hide resolved
...n/kotlin/app/k9mail/feature/account/server/settings/ui/incoming/content/IncomingFormItems.kt
Outdated
Show resolved
Hide resolved
...n/kotlin/app/k9mail/feature/account/server/settings/ui/outgoing/content/OutgoingFormItems.kt
Outdated
Show resolved
Hide resolved
...n/kotlin/app/k9mail/feature/account/server/settings/ui/outgoing/content/OutgoingFormItems.kt
Outdated
Show resolved
Hide resolved
@cketti Yes, I must have lost a bit of concentration there :-) |
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.
Thanks 👍
In the future please don't update a pull request branch by merging main
(or any other branch) into it. That makes it unnecessarily hard to clean up the history before merging.
(This is also mentioned in the pull request template.)
Set `autoCorrect = false` in incoming and outgoing server settings text fields.
15f62ac
to
be7310a
Compare
Set textfield inputtypes to textNoSuggestions
First pull-request.
I hope I have understood the ticket correctly.
Fixes #7361