8000 TextField issue with vietnamese input on iOS · Issue #8446 · NativeScript/NativeScript · GitHub
[go: up one dir, main page]

Skip to content
TextField issue with vietnamese input on iOS #8446
Open
@ngocnt1

Description

@ngocnt1

Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):

  • CLI: 6.2+
  • Cross-platform modules: 6.2+
  • Android Runtime: 6.2+
  • iOS Runtime: 6.2+
  • Plugin(s):

Describe the bug
It would be the case for textfield to input vietnamese string on real iP
It's reflected the differentiate texts between {N} TextField vs iOS native UITextField

To Reproduce

  • Add vietnamese Telex keyboards to test device (iPhone iOS 12+)
  • Type with soft-keyboard below keys to make a vietnamese word:
    n
    o
    w
    j

** Issue**
The display words on the textfield would be 'nợ', BUT
the value of model.description is 'nơj'
Expected behavior
The display words on the textfield would be 'nợ' AND
the value of model.description should be the same: 'nợ'

Sample project
https://play.nativescript.org/?template=play-ng&id=9zSAvo&v=2

Additional context
I had to workaround on this for vietnamese app

  • get the raw value of ios.text instead of.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0