vuetify-dialog icon indicating copy to clipboard operation
vuetify-dialog copied to clipboard

[Request] default icon=false on confirm dialog

Open mean-cj opened this issue 4 years ago • 6 comments

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.

mean-cj avatar Jul 30 '20 16:07 mean-cj

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

yariksav avatar Jul 30 '20 16:07 yariksav

Icon not display on mdi

image

kieuminhcanh avatar Aug 02 '20 02:08 kieuminhcanh

Or if there is some option to set icon pack to mdi, that is default in Vuetify?

igorjacauna avatar Aug 10 '20 20:08 igorjacauna

Hello @igorjacauna

not work with { font: false } because sometime i will load MDI from CDN

Thanks.

mean-cj avatar Aug 18 '20 12:08 mean-cj

Hi @yariksav

icon: false is not disabling or setting the icon.

I would like to set it to MDI icons.

hubert17 avatar Aug 20 '20 15:08 hubert17

Seems to be fixed in 2.0.12 (Get icon from default $vuetify config), Please check

yariksav avatar Sep 29 '20 12:09 yariksav