Open simeon9696 opened 4 years ago
Setting :show-current='false'
is a temporary workaround. You don't get to see the current date with the outline, but at least the current date doesn't disappear if you select another date
I'm pretty sure this is an issue with the default colour scheme when you select the dark theme. The current date uses the 'accent' colour, which is by default configured to a grey colour that isn't really meant to be used for text as far as I can tell (especially not when the text is on a dark background).
I'm having the same issue on vuetify 2.4.3
I discovered that if you set a color
then it shows the current date properly
I'm having the same issue, with none of the above fixes working.
I reckon it's to do with the fact that a text field also has the same v-model. Removing the v-model from the text field makes it work.
But now how do I keep them bound together?
@JohnnyHowe try value
?
<v-text-field
:value="date"
label="Month and year"
prepend-icon="mdi-calendar-edit"
readonly
v-on="on"
>
</v-text-field>
Module version @nuxtjs/vuetify-v1.11.0
Describe the bug Datepicker shows the current date the first time it's loaded but as soon as I change the date the current date disappears. It re-appears if I click on the area where the current date is
To Reproduce I couldn't get the sandbox to load for some reason. My wifi is pretty unreliable at the moment. But this is the code that wraps the datepicker:
Expected behavior The current date stays visible on the datepicker when another date is selected
Screenshots Datepicker on first time load![image](https://user-images.githubusercontent.com/31748055/77403190-3de9d000-6d86-11ea-942a-e29e2917ffec.png)
When I select another date (March 24th missing i.e. the current date)![image](https://user-images.githubusercontent.com/31748055/77403250-578b1780-6d86-11ea-8ebd-b80ddde612ee.png)
Additional context I did try upgrading to v2.0.0beta.0 but then my dark theme wouldn't show up despite the settings in the
nuxt.config.js
which is a separate issue altogether.How do I get the current date to show when another date is selected?