DmPhotoCapture
Updated Aug 18, 2026
DataMagik Application DesignerDmPhotoCapture
DmPhotoCapture — the platform's `photo_capture`.
States
default
Example
<DmPhotoCapture />
Props
| Name | Type | Required | Default |
|---|---|---|---|
label | string | undefined | |
help | string | undefined | |
error | string | undefined | |
required | boolean | false | |
disabled | boolean | false | |
modelValue | string | null | null | |
upload | (image: { data: string; contentType: string }) => Promise<{ imageKey: string }> | undefined | |
maxSize | number | 5 * 1024 * 1024 | |
height | string | '12rem' |
Events
cleared, error, saved, update:modelValue