Skip to content
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

input-group on wrapping every component #27

Closed
batusai513 opened this issue Jul 6, 2016 · 1 comment
Closed

input-group on wrapping every component #27

batusai513 opened this issue Jul 6, 2016 · 1 comment

Comments

@batusai513
Copy link
Contributor

I'm having this issue where every component in the form is getting the input-group class, and that class is just for elements with prefix or sufix (or both), and when using bootstrap, the style is messed up.

@randallknutson
Copy link
Contributor

We originally had it as you described but this caused a lot of issues with fields with a prefix or suffix inside of a datagrid or table since they have different box properties depending on whether they are in an input-group or not. To resolve this we always put them in an input-group and added some CSS to make it look better. See https://github.com/formio/react-formio/blob/master/formio.css#L3-L28

This may not be the best solution so let me know if you have any thoughts on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants