Currently, I am in the process of developing a mobile web application using Ratchet. The main task at hand involves opening a modal, filling out a form, clicking a button to save the input data, and then closing the modal.
Although I have managed to close the modal using the designated button and successfully save the form field data individually, I am struggling with figuring out how to perform these tasks together. Unfortunately, Ratchet's documentation does not provide any guidance on manually closing a modal using JavaScript.
Within my setup, I am utilizing Ratchet alongside AngularJS. As a result, the button triggers an Angular function responsible for closing the modal once the form data has been saved.