MR Labs

Select

Dropdown select. Shows a clear button when not required and a value is selected.

Selectiontype: selectaccepts inputrequires options

Live Preview

Data Properties

NameTypeDefaultDescription
titlestring-Field label
placeholderstring-Placeholder text (default: 'Select an option')
requiredbooleanfalseWhether the field is required
options*FieldOption[]-Array of {label, value, icon?} objects

Config Options

NameTypeDefaultDescription
variantenumdefaultdefault, boxed, minimal
sizeenummdsm, md, lg
helpTextstring-Help text below the select

Validation Rules

NameTypeDefaultDescription
customMessagestring-Custom error message