-
-
Notifications
You must be signed in to change notification settings - Fork 239
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to add bootstrap classes to inputs and labels #39
Comments
No I don't. I don't know if is possible either. |
I think that import {SubmitField} from 'uniforms-bootstrap3';
// Any React component
const customSubmitField = () =>
<SubmitField className="class-a class-b" />
;
<AutoForm submitField={customSubmitField} ... /> (it was implemented due to issue #28) |
And Boom goes the dynamite... I think this package just got awesome. Your solution is great. Thank you |
Well, let's hold the ovation for one sec... There's still one problem.
Looking at the submitField component you can see its hard coded classes: |
Unfortunately, it is. If you have a free minute, submit a PR for it. If not - just let me know and I'll fix it. I think, that |
Please if you can comment when it's resolved I'll be grateful. |
I've also published |
|
Maybe some npm cache - it's already listed here. |
I am working on a bootstrap themed version of a site, so i want to specify classes to inputs like this:
Can I do thath from schema specification? Something like:
The issue is, I want to use bootstrap 3 structure, but with different classes
The text was updated successfully, but these errors were encountered: