DmSelect

Updated Aug 18, 2026
DataMagik Application Designer

DmSelect

DmSelect — single choice, on the native <select>.

When not to use it. Above about twenty options, use DmCombobox — a native select with two hundred rows is unusable on a touchscreen.

States

default

DmSelect — default, light theme DmSelect — default, dark theme

empty

DmSelect — empty, light theme DmSelect — empty, dark theme

Example

<DmSelect />

Props

NameTypeRequiredDefault
modelValuestring | number | nullnull
optionsDmOptionsSource<string | number>() => []
labelstringundefined
placeholderstringundefined
helpstringundefined
errorstringundefined
idstringundefined
namestringundefined
requiredbooleanfalse
disabledbooleanfalse
labelHiddenbooleanfalse

Events

update:modelValue

Worth knowing

The dropdown is the browser’s own popup, so its background is the OS’s, not the theme’s. The option colours are set explicitly for exactly this reason — an earlier version rendered near-white text on a white popup in dark mode.

Was this page helpful?