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

You can remove the inline style from inputs #18

Open
ppetkow opened this issue Jul 2, 2019 · 4 comments
Open

You can remove the inline style from inputs #18

ppetkow opened this issue Jul 2, 2019 · 4 comments

Comments

@ppetkow
Copy link

ppetkow commented Jul 2, 2019

getInputProps() {

There is a function that passes inline style to datepicker input. Its hard to override style of this element. :(

@WizardCM
Copy link

WizardCM commented Jan 3, 2020

Agreed. I vote simply change the order of the inputProps extend: that way the style only gets overwritten if explicitly specified. Having hardcoded styles that aren't in the provided stylesheet is painful as it forces developers to use !important.

@luizabentivoglio
Copy link

How can i remove the border from the input? Thank you

Agreed. I vote simply change the order of the inputProps extend: that way the style only gets overwritten if explicitly specified. Having hardcoded styles that aren't in the provided stylesheet is painful as it forces developers to use !important.

How can i remove the border from the inputs?

@ppetkow
Copy link
Author

ppetkow commented Apr 8, 2021

If it comes from Props function you can only with !important in CSS file

@snamoah
Copy link
Owner

snamoah commented Apr 11, 2021

Great point guys... I'd appreciate if anyone could create a pull request with this fix. I can create a pr fix for this a bit later no one opts to do 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

4 participants