The image field (type="image") displays a read-only image.
Explicit type="image" property is not required. If you specify the image property, the image field will be detected automatically.
async function modalImage() { const form = [ {name: "Image"}, {image: "scheduler.png"}, {text: "Image description."}, ]; const data = { }; const modal = await Modal.form(form, data); console.log(modal.result);; }