Vuetify: [Bug Report] Icon inside not visible when v-text-field is solo-inverted

Created on 2 Sep 2019  路  5Comments  路  Source: vuetifyjs/vuetify

Environment

Vuetify Version: 2.0.11
Vue Version: 2.6.10
Browsers: Chrome 74.0.3729.169
OS: Windows 10

Steps to reproduce

See Codepen. Just add a v-toolbar and inside add a clearable and solo-inverted v-text-field.

Expected Behavior

After typing in some text, the clear button should be visible at the right end.

Actual Behavior

Cannot see the clear icon once the text field is activated, although it can still be clicked. The icon is visible though when the text field is deactivated, or is not solo-inverted.

Reproduction Link

https://codepen.io/icebeam030/pen/gOYGpVG

VTextField bug

Most helpful comment

You can use the color property. This sets the inner-icon color for the focused text field.

For Example:

<v-text-field
          class="mx-6"
          placeholder="Search"
          flat
          clearable
          hide-details
          solo-inverted
          color="pink"
></v-text-field>

Thank you, I didn't think of that.
But as you can see the search bar examples in the documentation don't set the color property, and therefore causes the clear icon to disappear. Either the docs and examples should be updated or this behaviour with solo-inverted should be fixed.

All 5 comments

This issue is also reproducible on the Google Contacts pre-made layout.

It does not seem to be related to the clearable functionality, but more so with solo-inverted.

The field just turns white, making everything else inside it invisible.

This issue is also reproducible on the Google Contacts pre-made layout.

It does not seem to be related to the clearable functionality, but more so with solo-inverted.

The field just turns white, making everything else inside it invisible.

Agreed. Edited accordingly.

You can use the color property. This sets the inner-icon color for the focused text field.

For Example:

<v-text-field
          class="mx-6"
          placeholder="Search"
          flat
          clearable
          hide-details
          solo-inverted
          color="pink"
></v-text-field>

You can use the color property. This sets the inner-icon color for the focused text field.

For Example:

<v-text-field
          class="mx-6"
          placeholder="Search"
          flat
          clearable
          hide-details
          solo-inverted
          color="pink"
></v-text-field>

Thank you, I didn't think of that.
But as you can see the search bar examples in the documentation don't set the color property, and therefore causes the clear icon to disappear. Either the docs and examples should be updated or this behaviour with solo-inverted should be fixed.

Inverted solo fields are not in a good place right now but I would like to get a few QOL fixes in to v2.2.x starting with #9534 . This will be next.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

aaronjpitts picture aaronjpitts  路  3Comments

alterhu2020 picture alterhu2020  路  3Comments

Webifi picture Webifi  路  3Comments

milleraa picture milleraa  路  3Comments

dschreij picture dschreij  路  3Comments