Select fields are empty, so we need to fetch the required options from the database. By querying projects and profiles, we’ll map the data into the right format for our form. To keep things efficient, multiple queries will run simultaneously using Promise.all
.