It would be good to have a pre-defined dialog containing a reason-field like softDelete() for other purposes. The question/title should be provided per function-argument.
While preparing several packages for WSC 6, I had to implement a function like softDelete() multiple times yet; just because I need a dedicated title and the additional reason-field.
async customReason(question?: string, askForReason = false, reasonFieldLabel = ""): Promise<ResultCustomReason> {
// dummy
}
It would be good to have a pre-defined dialog containing a reason-field like
softDelete()for other purposes. The question/title should be provided per function-argument.While preparing several packages for WSC 6, I had to implement a function like
softDelete()multiple times yet; just because I need a dedicated title and the additional reason-field.