All Projects → ProdutorAgro → react-native-masked-input-text

ProdutorAgro / react-native-masked-input-text

Licence: other
A typescript masked input component for react-native

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to react-native-masked-input-text

Zhpopupcontroller
Help you pop up custom views easily. and support pop-up animation, layout position, mask effect and gesture interaction etc.
Stars: ✭ 1,481 (+10478.57%)
Mutual labels:  maskedinput, mask
ionic2-mask-directive
directive to mask ion-input
Stars: ✭ 24 (+71.43%)
Mutual labels:  maskedinput, mask
vue-input-mask
Yet another Vue component for input masking
Stars: ✭ 18 (+28.57%)
Mutual labels:  maskedinput, mask
FormatEditText
格式化输入框,可用来格式化数字、金额、号码等; FormatEditText can be used as a formatted text input box
Stars: ✭ 121 (+764.29%)
Mutual labels:  maskedinput, mask
rt-utils
A minimal Python library to facilitate the creation and manipulation of DICOM RTStructs.
Stars: ✭ 89 (+535.71%)
Mutual labels:  mask
PHP-FileUpload
Simple and convenient file uploads — secure by default
Stars: ✭ 53 (+278.57%)
Mutual labels:  form
mask export
Export your mask elements as extension
Stars: ✭ 45 (+221.43%)
Mutual labels:  mask
Formicula
A template-driven form mailer for Zikula
Stars: ✭ 19 (+35.71%)
Mutual labels:  form
formurai
Lightweight and powerfull library for declarative form validation
Stars: ✭ 49 (+250%)
Mutual labels:  form
neat-form
Build form on Android using JSON schema; also includes view validation and skip logic.
Stars: ✭ 56 (+300%)
Mutual labels:  form
powerform
A powerful form model.
Stars: ✭ 46 (+228.57%)
Mutual labels:  form
ember-validity-modifier
Ember Octane addon to add custom validity (form validation) to form fields
Stars: ✭ 28 (+100%)
Mutual labels:  form
svelte-multistep-form
Svelte MultiStep Form like, this component is still in beta stage
Stars: ✭ 29 (+107.14%)
Mutual labels:  form
ir-city-select
List of Iran provinces and cities to use in HTML forms. ( ~2.3KB gzipped )
Stars: ✭ 22 (+57.14%)
Mutual labels:  form
react-formulation
Simple React form validation
Stars: ✭ 14 (+0%)
Mutual labels:  form
pixel-mask-generator
🎮 🎲 Procedural pixel generator (mask) + visualizer
Stars: ✭ 15 (+7.14%)
Mutual labels:  mask
vue-sku-form
基于 Vue & ElementUI 的电商 SKU 表单配置组件
Stars: ✭ 94 (+571.43%)
Mutual labels:  form
readonly.js
Make form controls - even <select> - read-only.
Stars: ✭ 35 (+150%)
Mutual labels:  form
final-form-arrays
Array Mutators for 🏁 Final Form
Stars: ✭ 64 (+357.14%)
Mutual labels:  form
tform
A easy, extensible and dynamic flutter form framework. Support for custom selectors, validators and widgets. Support form verification, insert, delete and so on.
Stars: ✭ 30 (+114.29%)
Mutual labels:  form

Masked InputText for React Native

Build Status Coverage Status npm version

Install

NPM

npm install react-native-masked-input-text 

Yarn

yarn add react-native-masked-input-text

Usage

import MaskedInput from 'react-native-masked-input-text'

render() {
    return (
        <View>
            <MaskedInput mask={'xXas\\00?'} placeholder={'xXas00'} />
        </View>
    )
}

Mask options

This library supports the following options as its mask definition:

  • x: a lower case letter
  • X: a upper case letter
  • s: either a lower or upper case letter
  • a: an alpha numeric char (either lower or upper case)
  • 0: any digit
  • ?: makes the previous symbol optional
  • \: Escapes the next symbol and makes it as a static part of the mask

Note: Any char not declared above are considered static.

Examples

Description Mask Valid input
US Phone number +1-000-000-0000 +1-541-754-3010
Date 00/00/0000 25/12/2019
Hour 00:00 23:15
Brazil Cellphones +55 (00) 9 0000-0000 +55 (65) 9 8765-4321
IP Address 00?0?.00?0?.00?0?.00?0? 127.0.0.1
CPF 000.000.000-00 123.456.789-01
Mask with letters XX-0000/1000 AB-1234/1987
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].