i am completely new to appscript but am trying to solve this issue for my team.
Basically we have a script that runs a dashboard for monitoring daily tasks progress. There is supposed to be an alert requesting user to re-assign checker based on code below, but it’s not working – no prompt / alert when we click on ‘re-assign’> ‘Checker’. Any help is appreciated, thank you in advance!
Swal.fire({
title: 'Select new reviewer',
input: 'select',
inputOptions: inputOptionsPromise,
inputPlaceholder: 'Select new reviewer',
showCancelButton: true,
inputValidator: function(value) {
return new Promise(function(resolve, reject) {
if (value != '') {
resolve();
} else {
reject('You need to select a reviewer')
alert('Select reviewer required')
}
})
}
}).then((address) => {
if (address.isConfirmed) {
Swal.fire({
type: 'success',
html: 'Reviewer has been changed to: ' + address.value
New contributor
user25696163 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1