Cannot add patients to service queue

On the OpenMRS demo site, I am not able to add a patient to a service queue. On clicking the Add patient to queue button, the screen just clears and I am redirected back to /spa/home/service-queues or even in some instances, the screen appears to be loading something(as shown in the picture below) and the console just won’t stop giving this error.

The same situation applies to running the service-queues module from openmrs-esm-patient-management code on my local machine. Could anyone know what the issue is?

Are you able to reproduce this problem here? test3.openmrs.org

Yes, the same is happening there!!

@jayasanka is this the kind of feedback that you asked for here? O3 RefApp (QA Release): 3.0.0-beta.17 ready for testing