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

No option to attatch custom className on the input #261

Closed
sharvit opened this issue Aug 25, 2020 · 3 comments
Closed

No option to attatch custom className on the input #261

sharvit opened this issue Aug 25, 2020 · 3 comments

Comments

@sharvit
Copy link

sharvit commented Aug 25, 2020

I would like to set a custom class on the input field so I can integrate it with bs3 by adding the form-control class.

It would be nice to have a inputClassName prop so I can add my own class-name.

Thanks!

sharvit added a commit to sharvit/input-number that referenced this issue Aug 25, 2020
@hperezs
Copy link

hperezs commented Feb 16, 2023

Was this feature ever considered? We ran into the same issue. For now, we used Sass to extend .form-control but we think the library should support a custom class name in the props.

Thanks

@yoyo837
Copy link
Member

yoyo837 commented Oct 13, 2023

Using classNames.input #570 Does it meet your requirements?

@yoyo837
Copy link
Member

yoyo837 commented Nov 2, 2023

Trace in #594

@yoyo837 yoyo837 closed this as completed Nov 2, 2023
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

Successfully merging a pull request may close this issue.

3 participants