Skip to content
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

Problem with displaying the "event" and "access_time" icons #95

Open
d4n5h opened this issue Apr 22, 2021 · 4 comments
Open

Problem with displaying the "event" and "access_time" icons #95

d4n5h opened this issue Apr 22, 2021 · 4 comments

Comments

@d4n5h
Copy link

d4n5h commented Apr 22, 2021

exampleee

@SUTFutureCoder
Copy link

I also have the same problem. Please try to use custom icons and add 'mdi-' before your icon name.

Here is my code.

<v-datetime-picker label="Select Datetime" v-model="time">
        <template slot="dateIcon">
          <v-icon>mdi-calendar</v-icon>
        </template>
        <template slot="timeIcon">
          <v-icon>mdi-clock-outline</v-icon>
        </template>
</v-datetime-picker>

reference:
https://github.com/darrenfang/vuetify-datetime-picker/blob/master/src/app.vue
custom icons

@d4n5h
Copy link
Author

d4n5h commented May 6, 2021

@SUTFutureCoder Yeah that's what I ended up doing. But then I saw that this library doesn't support SSR and validation so I created my own Datetime picker component that supports both. I can publish it if anyone wants it.

@d4n5h
Copy link
Author

d4n5h commented May 10, 2021

@SUTFutureCoder https://gist.github.com/d4n5h/a5c55cd1dfb71dda575946dc8ccf4acb

@wackyapps
Copy link

@d4n5h thanks for sharing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants