Skip to content

Select ​

A dropdown picker built on a custom button + listbox UI. Sizes, color and visual variants, validation states, slot-overridable label/helper/prefix/suffix, and a clearable trigger. Toggle Vue / CSS to switch the live demo and source together.

The look is Basecoat's .select / .combobox (see Theme): the trigger is the same box as input (1px --input border, xs shadow, 3px --ring focus ring), the panel is a --popover surface with a 1px --foreground/10 ring and an md shadow, options are text-sm rows that highlight on --muted and mark the selected one with a check at the end. Dark mode is built in.

Basic ​

Default select with label, placeholder and helper text.

Vue SFC

Opening and closing ​

What a click on the field does depends on whether it is searchable:

  • Plain select β€” the field is a button: a click opens the list, another click closes it (so do ↓ / Enter / Space on the focused field).
  • Searchable select β€” clicking into the input opens the list and focuses it, as you would expect of a box you type in, and typing opens it with results. A click in the input while the list is open never closes it (that is caret placement or text selection) β€” close with the caret (βŒ„), Esc or a click outside.

The caret opens and closes in both modes. Tabbing into either opens nothing.

Keyboard ​

Opening highlights the first option, so ↑ / ↓ start from a known place and Enter picks without needing an arrow press first. This works whether or not the select is searchable β€” the trigger drives the list when there's no search field to hold focus.

KeysDoes
Enter / Space / ↓ (closed)open the panel
↑ / ↓move the highlight, scrolling it into view
Enterselect the highlighted option
Escclose

The highlight is drawn as a leading bar on the option's left edge, distinct from the background that marks the selected option β€” an option is often both at once. Tune it with --mono-select-cursor-width (default 3px) and --mono-select-cursor-color.

Sizes ​

xs … xxl on the shared control ladder (--mono-control-height-*); the trigger text follows the button's steps (xs text-xs, sm/md/lg text-sm, xl text-base, xxl text-lg). Options stay text-sm at every size, like Basecoat's.

Vue SFC

Colors ​

Pick a colour and every variant takes it. color sets the focus colour β€” the ring and the focused border. A resting trigger is always on --input, whatever its colour; primary focuses with --ring, secondary with --muted-foreground, the rest with their role token.

outlined is Basecoat's .select > button. filled is luma's (a transparent border on an --input/50 surface, no shadow) and underlined is sera's (square, only the bottom edge painted, no ring β€” focus and validation recolour the line). Under the sera flavor the default variant is the underline.

Vue SFC

States ​

Disabled, readonly and required.

Vue SFC

Tooltip ​

When the extra explanation is too long for helper-text, put it behind an info icon at the end of the label. tooltip="…" takes plain text; :tooltip.prop="{ content, placement, color, … }" takes any tooltip option. The icon is keyboard-focusable and also works on a disabled field β€” a good place to say why it is disabled.

Plain text needs nothing extra

tooltip="…" (plain text) shows a small built-in bubble β€” no dependency. It sits above the icon (below when there's no room), stays on screen, and isn't clipped by an overflow: hidden parent. It reads the tooltip addon's --mono-tooltip-bg / -color / -radius / -max-width / -font-size / -padding-x / -padding-y knobs.

The object form is the tooltip addon (mono-tooltip: placement, color, delay…), which needs the optional peers pnpm add @floating-ui/dom @floating-ui/core. Without them an object-form tooltip renders no icon (and nothing is logged). Either way the icon only appears beside a label.

Vue SFC

Label position ​

label-position moves the label without touching its type or colours:

valuelook
topabove the box (default)
notchedoutlined: on the top border, ──Label──. filled / underlined: inset inside the top of the box, which grows by the label's line
left / rightbeside the box, centred on its first row; helper / validation messages stay under the box

Set it for every field at once with createMonoUI({ 'mono-select': { labelPosition: 'notched' } }). --mono-select-label-width fixes the side column so a stack of left fields lines up.

The notch is a background patch

The notch hides the border with --background. On a card or any other surface, set --mono-select-label-notch-bg to that surface (e.g. var(--card)).

Vue SFC

Validation position ​

validation-position decides where the validation message (invalid / warning / valid + validation-message) shows. The coloured border is the same in every mode.

valuelook
bottomthe row under the box (default) β€” the message replaces the helper text there
icona state icon inside the box; hover or tap it (or keyboard-focus the field) for the message in a state-coloured bubble
floatnothing until the field is hovered or focused; then the message floats under the box, and disappears again when you leave

In icon and float the row under the box keeps the helper text, and the message stays there for screen readers only. The bubbles need no dependency (no floating-ui). Knobs: --mono-validation-invalid-bg / -color (and warning / valid), --mono-validation-icon-size.

Vue SFC

Validation ​

valid, invalid and warning states with messages. invalid is Basecoat's aria-invalid treatment β€” a permanent --destructive border and /20 ring, the label turns --destructive, the message carries role="alert"; the other two are the same pattern in --success / --warning.

Vue SFC

Clearable ​

Clear button shown when a value is selected.

One glyph. With something to clear, the clear button (βœ•) stands in for the caret, open or closed; otherwise β€” nothing selected, or clearable off β€” the caret (βŒ„) is alone. The value wins over the open state: a searchable field with a value has no caret to close it with (see Opening and closing β€” its body only opens), so it closes by picking, Escape or a click outside. A disabled or readonly field shows neither: it refuses every gesture, so a caret would promise an open it never delivers. The gutter the glyph sat in stays, so the text does not shift when the state toggles. The same rule <mono-tag-input> and <mono-dropdown-table> follow, so the three fields line up in a form.

Vue SFC

Slots ​

Custom label, helper and prefix/suffix content via slots.

Vue SFC

Event: change ​

Listen to change to react to selection.

Vue SFC

Event log ​

Live log of change and clear events.

Vue SFC

Customized ​

Override per-element styling with cssClass (Vue) or utility classes (CSS).

Vue SFC

Custom keys ​

Use key-value and display-value to feed natural-shape items (for example { id, name }) without pre-mapping. key-value names the property stored in modelValue; omit it to store the whole item object. display-value is either a property name (string) or a (item) => string function β€” when unset it falls back to item.label.

Without key-value the whole item is the value, and it is matched by identity β€” the object in modelValue has to be one of the objects in items. A reactive wrapper around it is fine (the select compares raw targets), but an item rebuilt between renders β€” a refetch, a structuredClone, a JSON round trip β€” is a different object and stops resolving. Pass key-value whenever items are re-created.

Vue SFC

DataSource (devextreme) ​

Bind a live devextreme DataSource with :data-source.prop. The select reads its items and stays reactive to the source's events β€” so an external ds.filter(...) + ds.load() updates the list with no re-binding. With load-more="scroll" it pages the source one chunk at a time (here pageSize: 5). This example builds the source with @mono-lit/utility' monoCreateFetcher against a public OData endpoint (baseUrl, no configBaseUrl). Bind with .prop and use key-value / display-value to map the server fields.

Loading & errors ​

A bound dataSource paints its request state in the field itself. While the first load (or a retry) is in flight the field reads Loading… with a spinner and is fully read-only. Once the source answers, the field works normally. A later search or load-more doesn't lock it again; those keep the in-panel loading row.

When a load fails, the error text takes the placeholder's place, the outline turns the invalid colour and a ↻ button appears at the end. Click it, or press Enter / Space on the focused field, to re-run the request. A failed search is retried without the query. The text is what the server said, collected like monoFetch does: every message / errorMessage / OData { message: { value } } in the response, each distinct message once, joined with Β·. When the server said nothing, the generic text for the status shows instead (e.g. 500 β†’ Something went wrong on the server…, 403 β†’ You do not have permission…). Hovering shows the full text.

It is not a validation error. validation-state, aria-invalid, the label and the message are untouched, and the outline clears as soon as a retry succeeds. The wrapper carries mono-ds-loading / mono-ds-error; restyle through --mono-select-ds-error-border, --mono-select-ds-error-ring and --mono-select-ds-error-text.

PropDefault
loading-text'Loading…'Shown in the field during the first load
retry-label'Retry'Accessible name of the ↻ button
loadingfalseThe APP is still fetching the options (the source is built after an await): same Loading… state, with or without a dataSource. Bind :loading.prop
loading-error / loadingErrornullThe app's fetch failed: a string or the error itself (messages collected the same way). Painted like a failed source

↻ always fires retry (mno-retry / mnoRetry too) with { error, source }. When source is 'dataSource' the field already re-runs the bound source; when it is 'app' (a loading-error), re-run your own fetch. Through a form controller: form.setProp({ key, props: { loading: true, onRetry } }).

Add searchable and the trigger becomes a text box you type into β€” with a bound DataSource it queries the server (debounced, search-value names the fields), otherwise it filters the items array client-side. search-operation picks the comparison (default contains), search-debounce the delay (default 300 ms) and search-placeholder the hint shown while open.

Search expressions ​

search-value is not limited to top-level field names. It takes the same grammar the data grid uses, as an array or as a comma-separated string β€” the two are equivalent, so plain HTML loses nothing:

html
search-value="Company.Name,Transaction.[*].Price,*.[*].*"
ts
:search-value.prop="['Company.Name', 'Transaction.[1].Name', 'Transaction.[*].Price', '*']"

An entry can be:

EntryMatches
LastNamea top-level field
Company.Namea nested field
Transaction.[1].Nameone array element
Transaction.[*].Nameany element of the array
*every top-level field
Company.*every field of Company
*.*every field of every nested object
*.[*].*every field of every array element

Patterns read literally, segment by segment β€” '*' covers the top level only, so pair it with '*.*' / '*.[*].*' to reach deeper. A field named explicitly always wins over a pattern, in either order, and is searched exactly once.

In the array form an entry may also be a { field, custom } clause builder, for a column contains can't search β€” a boolean, or a code the user never types. Return null to opt the column out of a given term:

ts
:search-value.prop="[
  '*',
  { field: 'Active', custom: ({ field, value }) => `${field} eq ${value === 'yes'}` },
]"

Setting search-value explicitly means it alone decides what is searched.

Leave it off and the default is '*' β€” every top-level field of an option β€” so searching works without naming anything. display-value (when it's a string) and key-value stay in the list beside it, and the rendered display text is matched too, which is the only way to search a display-value function.

Two caveats on a bound DataSource: a * pattern is resolved against the rows already loaded, so it can only see fields present in that sample; and it only emits clauses for string columns, because contains(Price,'x') is not valid OData. That is exactly why display-value / key-value remain alongside '*' β€” they are explicit entries, so they still work before the first page arrives and a numeric key-value stays searchable. Give any other non-text column an explicit entry or a custom builder.

To offer no search at all, drop searchable rather than emptying search-value.

Vue SFC

Grouped options ​

display-group is an array with one accessor per level (string field or function), used as the group key and header. Add the boolean group to bucket a paginated source client-side, or feed pre-grouped { key, items } data directly; group-sticky pins headers.

Two levels over a 1,200-row static array, load-more="scroll" revealing a chunk at a time.

Pre-grouped data with custom group-key / group-items field names.

Customized list rendering ​

display-value is a string and Lit escapes it, so an option can never carry markup β€” an icon, a badge, a second line with its own styling. slot="list" hands the option rows to you instead: mono keeps the panel, the search box, the filtering, the grouping, the keyboard and the value, and you decide what each row looks like.

The slot is for markup, and only markup. Nothing behavioural moves to you: mono paints the selected and keyboard-cursor states on the lines you render, and owns every click.

Two things to know before you reach for it. It requires controlMonoForm β€” what you loop is the control's resolved list (post-search, post-DataSource, groups flattened), which exists only inside the element and is reported back up onto form.items()[key].list. And mono places your wrapper as one block without ever reaching inside it, so render exactly one element per entry: that is how a click is paired back to its row.

A line you render IS an option: mono's own option styling applies to it, so it matches the panel around it β€” font, padding, height, divider, hover, the selected tint, the keyboard cursor, and the indent under a group header β€” without a single rule of your own.

State arrives as attributes on those lines β€” data-mono-type, -level, -selected and -active β€” so you restyle with CSS instead of binding classes, and your own rule always outranks mono's.

Identical to mono-tag-input's slot of the same name, with one difference that follows from the control: picking here sets the value and closes, rather than toggling one of many.

A flat list β€” one element per option, with a badge and a (?) tooltip that display-value could never have carried.

Grouped, two levels deep. Grouping stays mono's β€” it decides which groups exist and drops the ones the search emptied β€” and hands you the headers in the same flat sequence as the rows, each with its level and its leaves.

Width & height ​

Set width, height, min-width, max-width, min-height or max-height β€” each takes a CSS string ("260px", "80%") or a number (px). This sizes the field (distinct from dropdownHeight/dropdownMaxHeight, which size the popup).

Vue SFC

Panel size ​

The field and the dropdown panel are sized separately. By default the panel matches the field β€” right for a picker whose options read as continuations of the field, wrong for a wide one.

:dropdown.prop="{ width, height, minWidth, maxWidth, minHeight, maxHeight }" sizes the panel alone. Each key takes a CSS string or a number (px). Setting width also stops the panel tracking the field.

vue
<mono-select label="Account" width="100%" :items.prop="items"
  :dropdown.prop="{ maxWidth: '32rem', maxHeight: 280 }" />

Prefer maxWidth to width on a full-width field: the panel then caps on a wide screen but still shrinks with the field on a narrow one.

height is an exact height and maxHeight the cap β€” the same split the dropdown-height / dropdown-max-height attributes carry, and those stay for plain HTML, where there is no .prop binding to pass an object with. The widths land on the panel and the heights on its scrolling body, so a fixed height still scrolls rather than clipping.

The same object, with the same meanings, is accepted by <mono-tag-input> and <mono-dropdown-table>.

Vue SFC

Many selects on one page ​

A grid with an inline select per row mounts one element per row, so the per-instance cost is multiplied by the row count. Two things make that cheap, and both are automatic:

  • The option list is only rendered while the dropdown is open. A closed select has its panel in the DOM but no <button role="option"> children. Previously all of them were rendered up front and merely hidden with CSS, which put rows x options elements in the document β€” 6,000 for a 200-row grid with 30 options each.
  • The outside-click / focus / Escape listeners are bound while open, not from the moment the element connects. 200 closed selects add no document listeners.

Two things you still control:

  • Bind items to a stable reference (a module constant, a ref, or a computed). items, display-group, search-value and css-class all content-compare, so rebuilding an equal one is free β€” but a genuinely new array re-renders, as it should.
  • Prefer a function that is not rebuilt per render for display-value. A fresh arrow (:display-value.prop="(i) => i.name") is a new value every parent render, and a function cannot be content-compared, so each render reaches the element. Hoist it to module scope or a computed when a grid has one select per row.

If rows are only editable one at a time, v-if on the editing cell mounts one select instead of one per row β€” cheaper still than any of the above.

Placement ​

The dropdown keeps itself inside the viewport, so a select near the bottom of the page is never clipped:

  • flip (default true) opens the list upward when there isn't room below.
  • shift (default true) slides it horizontally so it doesn't overflow a screen edge.
  • When neither side fits the full list, it opens on the roomier side and shrinks to fit, scrolling internally. This caps dropdownHeight / dropdownMaxHeight / dropdown.height / dropdown.maxHeight β€” those stay the requested size whenever there is room for them.

Set :flip="false" / :shift="false" to pin the list below the field.

CSS Variables ​

Vue SFC

Themed through --mono-select-* custom properties (they inherit and pierce the shadow boundary β€” and reach the portaled panel); an explicit --mono-select-ring-color override wins over the color prop. Re-skin globally via the tokens (--input, --ring, --popover, --muted, --radius …) β€” or switch flavor. Scroll areas use the shared --mono-scrollbar-* tokens.

VariableDefaultControls
--mono-select-ring-color (alias --mono-select-focus-color)--ringFocus colour: the ring and the focused border (set by color)
--mono-select-ring-width / --mono-select-ring-alpha--mono-ring-width (3px) / --mono-ring-alpha (50%)Ring geometry
--mono-select-border-color (aliases --mono-select-border, --mono-select-rest-border)--inputResting trigger border
--mono-select-side-border-color= borderThe top / left / right edges only (sera and underlined set transparent)
--mono-select-bg (alias --mono-select-surface) / --mono-select-hover-bg--mono-mode-surface / dark --input/50Trigger background, and its hover (dark only in vega)
--mono-select-shadow--mono-shadow-xs (outlined)Resting trigger shadow
--mono-select-radius / --mono-select-radius-<size>--mono-radius-mdTrigger corner, for every size / one step
--mono-select-height-<size>--mono-control-height-<size>Trigger height per step
--mono-select-padding-x-<size> / --mono-select-padding-end-<size> (--mono-select-padding-x for all)2.5 / 2 Γ— --mono-spacing at mdTrigger inset, start / end
--mono-select-padding-y0Trigger block inset (the height token owns the height)
--mono-select-font-<size> / --mono-select-line-height (-<size>)--mono-text-sm / its line heightTrigger text
--mono-select-trigger-gap / --mono-select-icon-size1.5 Γ— spacing / 4 Γ— spacingGap between value and actions; chevron / clear glyph size
--mono-select-gap3 Γ— --mono-spacingLabel ↔ trigger ↔ message spacing
--mono-select-label-font-size / -font-weight / -line-height / -text-transform / -letter-spacing / -gap--mono-text-sm / --mono-label-font-weight / 1 / none / normal / 2 Γ— spacingLabel
--mono-select-label-width / -label-side-gapauto / 3 Γ— spacinglabel-position left / right column
--mono-select-label-notch-font-size / -label-notch-bg--mono-text-xs / --backgroundlabel-position="notched"
--mono-select-message-font-size / -line-height--mono-text-sm / --mono-leading-normalMessage
--mono-select-clear-radiuscalc(var(--radius) - 5px)Chevron / clear button corner
--mono-select-disabled-bg / --mono-select-readonly-bgtrigger bg / --mutedState surfaces
--mono-select-filled-bg--input/50filled surface
--mono-select-outline-{bg,hover-bg,border-color,side-border-color,shadow,ring-width,radius,padding-x}unsetThe same knobs scoped to the outlined variant β€” what the flavors set
--mono-select-dropdown-bg / -color / -radius / -shadow / -ring / -padding--popover / --popover-foreground / --mono-radius-md / --mono-shadow-md / 1px --foreground/10 / --mono-spacingThe panel
--mono-select-option-{radius,padding-x,padding-end,padding-y,gap,font-size,line-height,font-weight,min-height}--mono-radius-sm / 2 / 8 / 1.5 / 2 Γ— spacing / --mono-text-sm / normal / 0Option rows
--mono-select-option-active-bg / -active-color--muted / --foregroundHover + keyboard cursor row
--mono-select-check-icon / --mono-select-check-size / --mono-select-option-selected-font-weight--check-icon / 0.875rem / inheritThe selected row's check mark
--mono-select-group-{padding-x,padding-y,font-size,line-height,font-weight,text-transform,letter-spacing}2 / 1.5 Γ— spacing / --mono-text-xs / normal / none / normalGroup headers
--mono-select-color (alias --mono-select-text), --mono-select-placeholder, --mono-select-muted--foreground, --muted-foreground, --muted-foregroundText, placeholder, chevron / message / group ink
--mono-select-valid / --mono-select-invalid / --mono-select-warning--success / --destructive / --warningValidation colours
--mono-select-primary … --mono-select-infothe role tokensThe color presets

Deprecated and honoured as no-ops until 2.0: --mono-select-focus-rgb, --mono-select-underline-glow (the underline is sera's line now), --mono-select-cursor-width / -color (the keyboard cursor is Basecoat's --muted row, the same as hover), --mono-select-background, the per-colour filled tints.

Types ​

Importimport { SelectProps } from '@mono-lit/helper'
PropValueDefaultDescription
modelValueunknownβ€”The currently selected value.
valueunknownβ€”Alias for the selected value, kept in sync with modelValue.
itemsstring | SelectItem[]β€”List of selectable items, as an array or JSON string.
dataSourceSelectDataSource<SelectItem>β€”DataSource used to drive the item list, taking precedence over items.
immediatebooleanβ€”Auto-load the DataSource on attach when it has no items yet.
loadMore'' | 'button' | 'scroll' | booleanβ€”Incremental loading mode: scroll, button, or off.
pageSizenumberβ€”Chunk size used when paging a plain items array.
keyValuestringβ€”Item property name used as the model value.
displayValuestring | (item: any) => stringβ€”Item property name or function used to derive display text.
displayGroupSelectDisplayGroupβ€”Per-level accessors for grouped options (header label per group level).
groupKeystringβ€”Field holding a group node's key (default 'key').
groupItemsstringβ€”Field holding a group node's child array (default 'items').
searchablebooleanβ€”Turn the field itself into a search input (combobox); server query when a DataSource is bound.
searchValuestring | MonoSearchExprEntry[]β€”Field(s) the search matches (server query + client filter target). A comma string or an array; entries may be plain columns, paths (`Company.Name`, `Transaction.[*].Price`), `*` patterns (`'*'`, `'*.[*].*'`) or, in array form, `{ field, custom }` clause builders.
searchOperationstringβ€”devextreme search operation for server search (default 'contains').
searchDebouncenumberβ€”Debounce (ms) before a server search fires (default 300).
searchPlaceholderstringβ€”Placeholder shown in the field while it is open/searching (falls back to `placeholder`).
groupbooleanβ€”Group a plain, paginated DataSource client-side (keeps scroll/load-more).
groupStickybooleanβ€”Keep group headers pinned to the top while their rows scroll.
dropdownSizePropsβ€”Sizes the popup PANEL only, independent of the field β€” `:dropdown.prop="{ width: 460, maxHeight: 320 }"`. Without it the panel matches the field's width, which is right for a picker whose options read as continuations of the field, and wrong for a wide one. Setting `width` also stops the panel tracking the field. The widths land on the panel and the heights on its scrolling body, which is why a fixed `height` here still scrolls rather than clipping.
dropdownHeightstring | numberβ€”Fixed height of the scrollable dropdown list.
dropdownMaxHeightstring | numberβ€”Maximum height of the scrollable dropdown list.
stayOpenbooleanβ€”Exempt this select from every automatic close β€” clicking or focusing anything outside it, which includes opening another select. Not a lock: its own trigger, Escape and picking an item still close it. Set it on every select to allow several dropdowns open at once.
size'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl'β€”Visual size of the select.
color'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'teal' | 'purple' | 'neutral' | 'dark'β€”Color theme applied to the select.
variant'underlined' | 'outlined' | 'filled'β€”Visual style variant of the select.
labelPosition'left' | 'right' | 'top' | 'notched'β€”Where the label sits: `top` (above the box, default), `notched` (on the top border for outlined; inset inside the box for filled / underlined), or `left` / `right` of the box. Knobs: `--mono-select-label-width`, `-label-side-gap`, `-label-notch-font-size`, `-label-notch-bg`.
validationPosition'bottom' | 'icon' | 'float'β€”Where the validation message shows. `bottom` (default): the row under the box. `icon`: a state icon inside the box; hover / tap / keyboard focus shows the message in a state-coloured bubble. `float`: the message floats under the box only while the field is hovered or focused. In `icon` / `float` the row under the box keeps the helper text.
labelstringβ€”Text label shown above the select.
placeholderstringβ€”Placeholder text shown when no value is selected.
helperTextstringβ€”Helper text shown below the select.
tooltipstring | MonoTooltipOptionsβ€”Info icon at the end of the label; hovering, focusing or tapping it shows this text. Plain text β†’ a small built-in bubble (no dependency). Full tooltip options (`:tooltip.prop="{ content, placement, color }"`) β†’ a `mono-tooltip`, which needs the optional `@floating-ui/dom` + `@floating-ui/core` peers (without them that form renders no icon). Shown only beside a label.
validationState'warning' | 'default' | 'invalid' | 'valid'β€”Validation state controlling the select's appearance.
validationMessagestringβ€”Validation message shown below the select.
errorMessagestringβ€”Error message shown below the select.
successMessagestringβ€”Success message shown below the select.
namestringβ€”Form field name submitted with the value.
disabledbooleanβ€”Disables the select, preventing interaction.
readonlybooleanβ€”Makes the select read-only, blocking value changes.
requiredbooleanβ€”Marks the select as required and shows a required indicator.
clearablebooleanβ€”Shows a clear button to reset the selected value.
loadingbooleanβ€”Show "Loading…" + a spinner and lock the select β€” the app is still fetching its options.
loadingTextstringβ€”Text shown while loading (default `'Loading…'`).
loadingErrorunknownβ€”The app's fetch failed: a string or the error itself. Painted with ↻, which fires `retry`.
retryLabelstringβ€”Accessible name of the ↻ button (default `'Retry'`).
ariaLabelTextstringβ€”Accessible label used when no visible label is present.
ariaLabelstringβ€”β€”
widthstring | numberβ€”Explicit sizing of the field. Each accepts a CSS length string (`"320px"`, `"80%"`) or a number (interpreted as px). Use `width="100%"` for full width. (Distinct from `dropdownHeight`/`dropdownMaxHeight`, which size the popup.)
heightstring | numberβ€”β€”
minWidthstring | numberβ€”β€”
maxWidthstring | numberβ€”β€”
minHeightstring | numberβ€”β€”
maxHeightstring | numberβ€”β€”
cssClassSelectCssClassβ€”Custom CSS classes applied to internal select parts.
visiblebooleanβ€”Whether the control is shown. Defaults to `true`.
visibleType'none' | 'invisible'β€”How it hides when `visible` is `false`. Defaults to `'none'`.