Skip to content

Enable spell check #1740

@chrisbobbe

Description

@chrisbobbe

A user reports that spell check isn't working: #mobile > spell check on iOS @ 💬

We found that spellcheck is off by default in Flutter apps but can be enabled with a TextField param.

When I try that on iOS, though, I still don't get spellcheck feedback, because of issues in how the app decides which language to use:

#mobile > spell check on iOS @ 💬

Multiple unexpected things:

  • It seems like "en" isn't in UITextChecker.availableLanguages, even though we've decided that's a valid locale to show the app in
  • UITextChecker.availableLanguages isn't being checked properly:
    • We should be querying it for "ISO 639-1 language codes or combined ISO 639-1 language codes and ISO 3166-1 regional codes (for example, en_US)".
    • Instead, we'll end up querying it for things like "zh_Hans_CN" which isn't [that].

Upstream issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    a-composeCompose box, autocomplete, attaching files/imageslaunch feedbackThings users specifically asked for upon launch

    Type

    No type

    Projects

    Status

    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions