Socket
Socket
Sign inDemoInstall

nativescript-textfield-ex

Package Overview
Dependencies
0
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    nativescript-textfield-ex

TextField with extended KeyboardType.


Version published
Weekly downloads
5
Maintainers
1
Install size
26.2 kB
Created
Weekly downloads
 

Readme

Source

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

Keywords

FAQs

Last updated on 14 Jan 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc