Closed tminich closed 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)
'No'
false
$dialog.confirm
{ actions: [{ text: 'No', color: 'blue', key: false }] }
can you try
{ actions: { false: { text: 'No', color: 'blue' } } }
Works, thank you.
If you use false as a key (to emulate default behaviour) you get text back (in the example
'No'
) instead offalse
($dialog.confirm
is affected, not sure if others are)