Giter Site home page Giter Site logo

marcocesarato / react-native-input-validator Goto Github PK

View Code? Open in Web Editor NEW
14.0 3.0 6.0 241 KB

This library validates strings and number passed on TextInput component and highlight the result (valid green, invalid red). Optionally can have a placeholder with floating labels.

License: GNU General Public License v3.0

JavaScript 100.00%
react-native react component input textinput text validator validation validate labels

react-native-input-validator's Introduction

Hi there ๐Ÿ‘‹

I'm Marco Cesarato, a Italian Fullstack Software Engineer.

I'm a weird guy ๐Ÿ‘ฝ who likes making weird things with the technology.

I like to resolve problems, create smart user interfaces and imagine useful interaction, developing rich web experiences & good web and mobile applications. I care about creating high-quality, in terms of UI/UX ๐Ÿ”ญ and performance ๐Ÿš€, applications.

I know likely all the most popular programming languages ๐Ÿ˜†, but I'm ready to pick up new one ๐ŸŒฑ.

  • ๐Ÿ‘ถ Programming since: 2012
  • ๐Ÿ“š Interests: I'm always interested in learning
  • ๐Ÿ˜ Favorite Programming Language: probably are TypeScript and Python, because they can be well structured and is dynamic at the same time, don't need too much external libaries and its learning cost is very low, saving more valuable time
  • ๐ŸŽฎ Hobbies: I like to play to League of Legends and I think to be a decent player, peak elo Master ๐Ÿ˜ƒ

react-native-input-validator's People

Contributors

dependabot-preview[bot] avatar marcocesarato avatar renovate[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

react-native-input-validator's Issues

Animated: 'useNativeDriver' was not specified

Receiving the following warning:

Animated: 'useNativeDriver' was not specified. This is a required option and must be explicitly set to 'true' or 'false'

My code:

import InputValidator from 'react-native-input-validator';

             <InputValidator
              onRef={ref => {
                  this.input = ref;
              }}
              type="url"
              autoFocus={true}
              keyboardType="url"
              value={this.state.serverAddres}
              style={styles.input}
              onChangeText={text => this.setState({serverAddres: text})}>   
            </InputValidator>

I am using the following version:

"react-native": "0.62.2",
"react-native-input-validator": "^1.0.10",

Thanks.

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

npm
Example/package.json
  • expo ^48.0.0
  • react 18.2.0
  • react-dom ^18.0.0
  • react-native-input-validator ^1.0.11
  • react-native-web ^0.18.0
  • validator ^13.5.1
  • babel-preset-expo ^9.0.0
package.json
  • validator ^13.5.1
  • prettier ^2.2.1
  • pretty-quick ^3.1.0
  • react *
  • react-native *

  • Check this box to trigger a request for Renovate to run again on this repository

Adding Typescript support

Thanks for creating this library, it worked straight away and I was able to quickly add the input components into my app.
When integrating your library I created a custom type definition file based on your source to allow the language server to detect your component API's.

Other developers will likely come across this requirement as well in their projects if they use typescript. Are there upcoming plans to add a definition file in a future release?

Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.