Change Label color of focused TextInput
See original GitHub issueHow to change the colour of the label which is focused?
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:
- Created a year ago
- Comments:14 (2 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I am still facing the same issue. Not able to update the label color on the focus It takes the color from
activeOutline
colorusing version 4.12.5 tried using theme prop
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.