Closed xnejp03 closed 1 year ago
Use buttonTextStyle prop
buttonTextStyle={{ color: 'white', }}
But won't that then affect the selected colour too? I want placeholder to be different from the eventual value being selected.
On Mon, 19 Dec 2022, 06:41 Joshua Bauca, @.***> wrote:
Use buttonTextStyle prop
buttonTextStyle={{ color: 'white', }}
— Reply to this email directly, view it on GitHub https://github.com/AdelRedaa97/react-native-select-dropdown/issues/108#issuecomment-1357127788, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJ7YSHBV32B4IVUK6L3NOTWN7YQHANCNFSM6AAAAAATCYI54I . You are receiving this because you authored the thread.Message ID: @.*** com>
I used State. As of now this is my workaround since there's no separate styling prop for the defaultButtonText.
hopefully it helps.
Thanks.
Not working
It's be nice to be able to define different style for the placeholder text (eg color).
Is it currently possible?