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

Allow classNames for <FormGroup> and <label> #13

Open
CatVas opened this issue Mar 31, 2020 · 1 comment
Open

Allow classNames for <FormGroup> and <label> #13

CatVas opened this issue Mar 31, 2020 · 1 comment

Comments

@CatVas
Copy link

CatVas commented Mar 31, 2020

Please allow to set classes for <FormGroup> and <label>. E. g:

<Field classNameFormGroup="class-form-group" classNameLabel="class-for-label" component={ReactstrapFormikInput} />

Currently if we can set classes className="input-class", it applies only to <input>.

@Arshazar
Copy link

Arshazar commented Jun 5, 2020

Hey @CatVas , if you check inspector, you'll notice that both FormGroup and Label has classNames,
so you can simply overwrite them, sth like below in sass2.0 :

.form-group {
      .label-color {
      }
}

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