Using modal to verify input from user when saving



Publicado 31 oct 2023

I'm working on using a modal window to pop up when saving, that waits for the agents confirmation before continuing, but can't find a way to pause the save process and resume it on command.

I've got the modal down, and communicating back to the parent sidebar, but since the ticket submit button (client.on(ticket.save)) triggers the modal, I can't trigger anything to go ahead with the save process?

sidebar events: https://developer.zendesk.com/api-reference/apps/apps-support-api/ticket_sidebar/#ticket-save-hook-events

In short: (the bold below is the issue)

  • on ticket update/save
  • open modal window and ask user to confirm value X
  • if ok then continues the save process
  • if cancel then notify that confirmation is needed. Do not save

2

6

0 comentarios

      Iniciar sesión para dejar un comentario.

      ¿No encontró lo que buscaba?

      Nueva publicación