The buttons in the patient listview table make htmx get and post requests to the class, returning the updated PDU/organisation objects to populate the partials.
The API calls are a little slow, so we need spinners within the buttons next to the text to show when the ajax requests are in flight and hide on completion.
The buttons in the patient listview table make htmx get and post requests to the class, returning the updated PDU/organisation objects to populate the partials. The API calls are a little slow, so we need spinners within the buttons next to the text to show when the ajax requests are in flight and hide on completion.
An example of this working in E12 his here