We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
async openConfirmDelete() {
let res = await this.$dialog.prompt({ title: '¿Quiere anular el trámite Disposición de Inicio de Diligencias Prelimninares?', text: 'Indicar el motivo de anulación', persistent: true, width: '600', actions: { false: 'Cancelar', true: { color: 'warning', text: 'Aceptar', handle: () => { return new Promise((resolve) => { setTimeout(() => { resolve(res + 'o') console.log(res); }, 3000) }) } } } }) if (res) this.$dialog.notify.info('Your name is ' + res) },
The text was updated successfully, but these errors were encountered:
Your handler and Promise are useless here...
... true: { color: 'warning', text: 'Aceptar' } ... if (res) this.$dialog.notify.info('Your name is ' + res)
Sorry, something went wrong.
No branches or pull requests
async openConfirmDelete() {
The text was updated successfully, but these errors were encountered: