Dropdown field in modal form Answered: You can load the data using fetch() or a similar function before opening the modal dialog. async function showModal(url) { const options = await fetch("/api/getOptions").then(response => response.jso... how-tomvcdropdownapidatabasecontext