Comments (2)
Hi, thank you for your feedback. Try version 1.1.4
npm i [email protected] --save
Now you will need to import the css file manually since I separated them.
I have tested it in a nextjs with the latest verison.
import { Textbox } from 'react-inputs-validation';
import 'react-inputs-validation/lib/react-inputs-validation.min.css';
...
<Textbox placeholder="John Doe" classNameInput="input" type="text" id="name" maxLength="10" />
//package.json
{
"version": "1.0.0",
"scripts": {
"dev": "next",
"build": "next build",
"start": "next start"
},
"dependencies": {
"classnames": "^2.2.6",
"react-inputs-validation": "^1.1.4",
"@zeit/next-css": "0.2.1-canary.2",
"next": "7.0.0-canary.3",
"react": "16.4.2",
"react-dom": "16.4.2"
},
"license": "ISC"
}
//next.config.js
const withCSS = require('@zeit/next-css');
module.exports = withCSS();
from react-inputs-validation.
Thanks!
from react-inputs-validation.
Related Issues (20)
- Issue with Option list without Default Select option HOT 2
- validationOption.custom HOT 2
- Can not search option if try to type HOT 6
- Remove error message HOT 1
- Checkbox - checked property HOT 4
- Remove error message when value of field is updated HOT 1
- use along with materializecss
- use along with materializecss HOT 10
- Remove the default tabindex -1 HOT 3
- I get the error invariant violation View config not found HOT 4
- IE 11 SCRIPT1003: Expected ':' HOT 17
- Validation issue with Select component HOT 3
- Improve TypeScript support HOT 9
- There is a requirement that requires me to add a link into the message on error HOT 5
- Can you have maxLength also as an option? HOT 3
- Custom styles HOT 11
- CSS style custom validation message HOT 2
- Custom message for empty textbox HOT 3
- Issue with Select component HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-inputs-validation.