vuetify-dialog
vuetify-dialog copied to clipboard
[Request] default icon=false on confirm dialog
Hello @yariksav
When i use default icon is MDI, icon on confirm dialog cannot display , because your default icon is material-icons
and i can't disable on default options
[
'vuetify-dialog/nuxt',
{
confirm: {
icon: 'mdi'
}
}
]
Thank you.
Can you clarify your bug or proposition? Because I don't understand what do you want
getIcon () {
if (this.icon === false) {
return
}
return this.icon || (this.$vuetify && this.$vuetify.icons && this.$vuetify.icons[this.type]) || this.type
},
therefore you can set icon: false to hide icon, or set your icon, or it will get from vuetify settings, for example this.$vuetify.icons.warning
Icon not display on mdi
Or if there is some option to set icon pack to mdi
, that is default in Vuetify?
Hello @igorjacauna
not work with { font: false } because sometime i will load MDI from CDN
Thanks.
Hi @yariksav
icon: false is not disabling or setting the icon.
I would like to set it to MDI icons.
Seems to be fixed in 2.0.12 (Get icon from default $vuetify config), Please check