Comments (2)
@mehrad77 feel free to submit a PR. If not I will look at it when i get a chance.
from formik-semantic-ui.
Hi @mehrad77
I done it using pure less. For instance, the cove bellow change the message to a fancy pointing label:
.sui-error-message {
&:extend(.ui.pointing.label, .ui.basic.poiting.label, .ui.label, .ui.basic.label, .ui.basic.red.label, .ui.red.label);
&:before {
&:extend(.ui.pointing.label:before, .ui.basic.poiting.label:before);
}
}
You can include this code in the site/collections/form.overrides
.
It will render something like:
Anyway, I've sent a pull request to allow customize the error component. I would be glad to hear your opinion @justinobney :)
from formik-semantic-ui.
Related Issues (20)
- Can't access errors for nested properties HOT 2
- TypeScript support HOT 3
- Accessing form values outside methods HOT 1
- Different versions on NPM and on Github HOT 3
- Can't use <Dropdown> placeholder prop. HOT 1
- Add the Form Statics to the type file
- Radio Button Example HOT 1
- TS definition: missing 'value' on RadioComponentProps / CheckboxComponentProps HOT 1
- Multiple dropdown options HOT 1
- Support `component` prop on exported Form component
- Formik - loading status at start
- 'multiple' prop support for Dropdown HOT 1
- Expose semantic-ui form props better
- Change ErrorMessage position
- Dropdown values are tested in the wrong order by Yup
- Expose Ref on Inputs
- improve numeric default values HOT 1
- Cannot dynamically setFieldValue for Input. HOT 3
- Request: bind Formik `status` HOT 3
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 formik-semantic-ui.