So the issue with the form was the token. We need to make sure the .env file on the server hosting the app has the correct variable and value. I have made the app work such that if there is no valid token there should be an error message on the modal.
There is another case wherein there exists an invalid token. For such an instance, the tripetto-services module alerts the user to the error. To change this we will have to fork the services repo to get rid of the alert (to display a less annoying error message) since there is no api from the module to remove this.
So the issue with the form was the token. We need to make sure the .env file on the server hosting the app has the correct variable and value. I have made the app work such that if there is no valid token there should be an error message on the modal.
There is another case wherein there exists an invalid token. For such an instance, the tripetto-services module alerts the user to the error. To change this we will have to fork the services repo to get rid of the alert (to display a less annoying error message) since there is no api from the module to remove this.