Comments (3)
hi, one way to do it is to provide msgOnError
, but it does not specifically for error on empty only. Because it has so many types of error, the lib gets huge when trying to provide all kinds of the custom error message.
validationOption={{
name: 'Name',
check: true,
required: true,
msgOnError: 'Custom message(for all error)'
}}
The other way is that try to validate yourself. Check this out https://codesandbox.io/s/pjom8r78x7,
locate handleAccountChange
and validate it manually.
from react-inputs-validation.
maybe I could find a way to support this feature in next release. Please wait for v1.1.0
from react-inputs-validation.
please check v1.1.3
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
- Issue with Select component HOT 2
- dependencies? 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.