Vuetify: 1.1.1
Vue: 2.5.16
Browsers: Chrome 67.0.3396.99
OS: Linux x86_64
Change disabled button to dark
Show like in light or option to change color disabled in dark mode
no
Sugestion: Use same or equivalent color in both case.
Dark shouldn't specifically be used to make text white. My rule of thumb is whatever color background the element is on. In this case you should opt to use class="white--text"
.
<v-btn color="green lighten-1" :dark="valid" :disabled="!valid">Save</v-btn>
This is my workaround
for me, this issue reared it's head when vuetify bumped from 2.1.9 to 2.2.11. What is especially odd: both my Cancel and Save buttons disappeared (an enabled v-btn and a disabled one) but would not re-appear once the validity changed to valid -- did not happen in 2.1.9 but did happen in 2.2.11 Also - I had this issue on a dark background (not light) @rromanv thanks for your great workaround - this fixed it for me
Most helpful comment
<v-btn color="green lighten-1" :dark="valid" :disabled="!valid">Save</v-btn>
This is my workaround