Comments (2)
in this case, you can only set the css rule to it directly, like
.react-inputs-validation__msg___pxv8o.react-inputs-validation__error___2aXSp{
color: blue;
}
if you are trying to make it work to a specific error message, I suggest you provide a className to the wrapper
// js
<Textbox
...
classNameWrapper="errorBlueWrapper"
...
/>
/*css*/
.errorBlueWrapper .react-inputs-validation__msg___pxv8o react-inputs-validation__error___2aXSp{
color: blue!important;
}
.errorBlueWrapper input[type=number].react-inputs-validation__textbox__input___20hDL.react-inputs-validation__error___2aXSp, input[type=password].react-inputs-validation__textbox__input___20hDL.react-inputs-validation__error___2aXSp, input[type=phone].react-inputs-validation__textbox__input___20hDL.react-inputs-validation__error___2aXSp, input[type=text].react-inputs-validation__textbox__input___20hDL.react-inputs-validation__error___2aXSp{
border:1px solid blue!important;
color: blue!important;
}
note: the react-inputs-validation class name hash may have variation after each version update. So the save way to get it is by inspecting the element to locate the current classname
from react-inputs-validation.
Thank you!
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
- Custom message for empty textbox HOT 3
- 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.