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.

Change Label color of focused TextInput

See original GitHub issue

How to change the colour of the label which is focused?

image

In the above screenshot I would like to change the Select Payment Type colour to white

https://github.com/srivastavaanurag79/react-native-paper-select/issues/9

Please look in the above issue.

  • react-native: 0.63.4
  • react-native-paper:4.9.2
  • react-native-vector-icons: 8.1.0

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:14 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
raazatul7commented, Oct 20, 2022

I am still facing the same issue. Not able to update the label color on the focus It takes the color from activeOutline color

using version 4.12.5 tried using theme prop

0reactions
github-actions[bot]commented, Nov 24, 2022

Hello 👋, this issue has been open for more than a month without a repro or any activity. If the issue is still present in the latest version, please provide a repro or leave a comment within 7 days to keep it open, otherwise it will be closed automatically. If you found a solution or workaround for the issue, please comment here for others to find. If this issue is critical for you, please consider sending a pull request to fix it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

On input focus change color of label. How? - Stack Overflow
One solution would be to use the :focus-within selector. So, you'd do something like the below. Assuming that you always have an input...
Read more >
Change label color when input:focus - CodePen
URL Extension Required. When linking another Pen as a resource, make sure you use a URL Extension of the type of code you...
Read more >
How to change color of label text when focus on input ...
How to change color of label text when focus on input ? Without using Javascript. When click in the text input tag then...
Read more >
Styling a Focused Input's Label - Auroratide
Using CSS to style a label when its input has focus is tricky! Let's review 5 possible solutions for ... input:focus + label...
Read more >
Input fields with color on :focus - W3Schools Tryit Editor
} · background-color: lightblue; · <body> · <h2>Input fields with color on :focus</h2> · <p>Here, the input field gets a color when it...
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