1.0.1 • Published 5 years ago

nativescript-textfield-ex v1.0.1

Weekly downloads
1
License
Apache-2.0
Repository
-
Last release
5 years ago

NativeScript TextField Extended

NPM version Downloads Twitter Follow

TextField Extended for allow only numbers (1234567890).

Now you can use a new value for keyboardType property: digits.

<TextFieldEx keyboardType="digits"></TextFieldEx>

Installation

tns plugin add nativescript-textfield-ex

Demo app (Core)

Check out the demo folder.

Usage

<Page xmlns="http://schemas.nativescript.org/tns.xsd" loaded="pageLoaded" class="page"
  xmlns:ui="nativescript-textfield-ex">

  <StackLayout class="p-20">

    <!-- Plugin -->
    <ui:TextFieldEx hint="0000" class="tf-ex" keyboardType="digits"></ui:TextFieldEx>

    <!-- Original -->
    <TextField hint="0000" class="tf-ex" keyboardType="number"></TextField>

  </StackLayout>
</Page>

License

Apache License Version 2.0, January 2004

1.0.1

5 years ago

1.0.0

5 years ago