yariksav / vuetify-dialog

Easy dialogs in Vuetify.js framework
MIT License
195 stars 48 forks source link

key: false not working in actions #101

Closed tminich closed 3 years ago

tminich commented 3 years ago

If you use false as a key (to emulate default behaviour) you get text back (in the example 'No') instead of false ($dialog.confirm is affected, not sure if others are)

{
  actions: [{
    text: 'No', color: 'blue', key: false
  }]
}
yariksav commented 3 years ago

can you try

{
  actions: {
    false: {
      text: 'No',
      color: 'blue'
    }
  }
}
tminich commented 3 years ago

Works, thank you.