-
Notifications
You must be signed in to change notification settings - Fork 624
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
Select: Placeholder theming configuration has no effect #1276
Comments
There is a typo in your example: |
Sorry! I've updated the example. The issue is not related to the typo though. |
You're absolutely right, the |
The reason is that the placeholder doesn't work the same on a Here's how you can change the color of the <USelect
placeholder="This text should be red"
:options="countries"
:ui="{ color: { white: { outline: 'text-red-600 dark:text-red-600' } } }"
/> |
Thank you for the suggestion, but this would also change the color for the text when a value is selected. I think that a separate color for the placeholder as well as a consistent style for the different input elements would be really beneficial. |
If you don't want to change the implementation to be more inline with the default This could be easily applied here. |
Here you go! I've applied the |
Thank you! |
Environment
Version
v2.12.0
Reproduction
https://stackblitz.com/edit/nuxt-ui-isptnw?file=app.vue
Description
Theming the placeholder of the
select
component has no effect.In addition, the default style of the placeholder is kind of off compared to regular input fields
The text was updated successfully, but these errors were encountered: