Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

On iOS you can enter string into a TextField where the keyboard type is number #9453

Copy link
Copy link
Open
@shiv19

Description

@shiv19
Issue body actions

Environment

  • Using NativeScript Playground

Describe the bug
On Android if the keyboard type of a textfield is set to number, you can't enter a string into that field.
But on iOS, either by using the Paste menu, or by using one of the recommended text in the top row the keyboard, you can enter string into a textfield which is set to number type.

To Reproduce
https://play.nativescript.org/?template=play-ng&id=UMZOg2
Try pasting a string into the textfield in this demo app and press the button and see the logs.

Expected behavior
I expect it to not let the user type string into a number field on iOS, just like on Android.

Sample project
https://play.nativescript.org/?template=play-ng&id=UMZOg2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.