question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

NumberInput: background color can not be overridden

See original GitHub issue

CodeSandbox: https://codesandbox.io/s/chakra-js-starter-iwy4d

I like to style my inputs with grey backgrounds when they are on white backgrounds.

It seems to work for Input, but it doesn’t work for NumberInput

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:10 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
segunadebayocommented, Oct 7, 2019

Thanks for that feedback. NumberInputStepper sounds like a better name. I’ll rename it.

1reaction
aaronmcadamcommented, Oct 7, 2019

@segunadebayo That looks great! I think NumberInputStepper might be a better name than NumberInputSpinner though. Just thinking it might conflict with the loading activity Spinner component we already have

Read more comments on GitHub >

github_iconTop Results From Across the Web

HTML input CSS background color not applied - Stack Overflow
The color style is being applied to the input's text properly and Chrome's dev tools shows the background-color as being active on the...
Read more >
lightning-input - documentation - Salesforce Developers
Use SLDS styling hooks to customize the component's styles. For example, change the checkmark color and background color when an option is selected....
Read more >
CSS !important Property - W3Schools
The !important rule overrides the background-color property in both cases. Important About !important. The only way to override an ...
Read more >
appearance - CSS: Cascading Style Sheets - MDN Web Docs
The appearance CSS property is used to control native appearance of UI controls, that are based on operating system's theme.
Read more >
Widgets - Django documentation
You may also implement or override the render() method on custom widgets. attrs ¶. A dictionary containing HTML attributes to be set on...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found