Repository navigation
Spellcheck for EditableText on iOS/Android #34688
Description
Activity
- addeda: text inputEntering text in a text field or keyboard related problemsEntering text in a text field or keyboard related problemsplatform-iosiOS applications specificallyiOS applications specificallyc: new featureNothing broken; request for a new capabilityNothing broken; request for a new capability
on Jun 19, 2019 Android also supports a spell checking service: https://developer.android.com/guide/topics/text/spell-checker-framework
Reacted by Ariel Martinez Viera, Wilko Manger, Aneesh Rao and Soufiane Saadouni- addedframeworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.platform-androidAndroid applications specificallyAndroid applications specifically
on Jan 16, 2020 - addedplatform-androidAndroid applications specificallyAndroid applications specificallyplatform-iosiOS applications specificallyiOS applications specificallyand removedplatform-androidAndroid applications specificallyAndroid applications specificallyplatform-iosiOS applications specificallyiOS applications specifically
on Mar 5, 2020 Any news on this issue? It would be ideal to be able to have this so that the applications are more similar to the native ones.
- changed the title
[-]Spellcheck for EditableText on iOS[/-][+]Spellcheck for EditableText on iOS/Android[/+]on Sep 2, 2020 - addedplatform-androidAndroid applications specificallyAndroid applications specificallywould be a good packageSeparate Flutter package should be made for thisSeparate Flutter package should be made for this
on Sep 2, 2020 25 remaining items
Hi @camsim99,
Any updates?@mohamedali170 Android and iOS both have partial implementation. Implementation of the red underline and the toolbar with suggestions for Android and iOS is expected around EOY. I'll update this issue when more pieces of the implementation land!
Reacted by alid-code-archives, bonukai, mohamedali170 and Soufiane SaadouniReacted by Soufiane SaadouniWell, thanks very much for your efforts @camsim99 . I hope you can finish the remaining implementation in the near future.
Just wanted to update here that I have merged the remaining implementation on Android into the
masterbranch as of : #114460. Still working on somethings related to testing, though, as well as iOS!Reacted by bonukai, Luis and T. Stan GregoryReacted by Bo Lopker, Justin McCandless and Greg PriceReacted by bonukai and LuisNice! Do you have an idea which version this might land in?
It appears this feature has landed in Flutter 3.7. To use it, add this parameter to your EditableText or TextField:
spellCheckConfiguration: kIsWeb ? null : SpellCheckConfiguration()
(The spell check configuration currently seems to break on web)
Reacted by T. Stan Gregory, mono — Masayuki Ono and LuisGood progress! Sad news about web though. Hopefully we won't have to wait until another point release for it.
It appears this feature has landed in Flutter 3.7. To use it, add this parameter to your EditableText or TextField:
spellCheckConfiguration: kIsWeb ? null : SpellCheckConfiguration()
(The spell check configuration currently seems to break on web)
@jonbhanson yes, spell check is partially implemented on both! Thank you for pointing out the crash on web. Filed an issue to follow up on better solutions for crashing in that case #119542
Closing this since it's now complete for iOS and Android as of 3.10
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.- locked as resolved and limited conversation to collaborators
on May 26, 2023
Related Issue: #12920 autocorrection
Related UIKit documentation: https://developer.apple.com/documentation/uikit/uitextinputtraits/1624461-spellcheckingtype