DmPhotoCapture

Updated Aug 18, 2026
DataMagik Application Designer

DmPhotoCapture

DmPhotoCapture — the platform's `photo_capture`.

States

default

DmPhotoCapture — default, light theme DmPhotoCapture — default, dark theme

Example

<DmPhotoCapture />

Props

NameTypeRequiredDefault
labelstringundefined
helpstringundefined
errorstringundefined
requiredbooleanfalse
disabledbooleanfalse
modelValuestring | nullnull
upload(image: { data: string; contentType: string }) => Promise<{ imageKey: string }>undefined
maxSizenumber5 * 1024 * 1024
heightstring'12rem'

Events

cleared, error, saved, update:modelValue

Was this page helpful?