Skip to content
OGE logoOGE

Inputs API

Complete API reference for @oge-ui/inputs. The three editors share one field chrome and one base class — shared members are listed once per editor as "Common" groups, editor-specific members first. Live examples are on the demo pages.

Properties Methods Events Types

OgeTextBox

oge-text-box

Properties 50

OgeTextBox

Name Type DefaultDescription
valuemodel<string>''Editor value — two-way.
modeOgeTextBoxMode'text'Native input type. password auto-enables the reveal toggle.
maxLengthnumber | undefined—Counter denominator; enforced natively while counterMode is 'limit'.
minLengthnumber | undefined—Native minlength attribute.
showCounterbooleanfalseRenders the grapheme-accurate character counter in the subscript end slot.
counterModeOgeInputCounterMode'limit'Enforce maxLength natively, or allow typing past it and color the counter.
revealablebooleantruePassword reveal toggle; on by default for mode="password". Preserves caret/selection when toggling.
showCopyButtonbooleanfalseCopy-to-clipboard rail button (API keys, tokens…); copies the live text.
autocompletestring | undefined—Native autocomplete attribute.
inputModestring | undefined—Native inputmode attribute.
enterKeyHintstring | undefined—Native enterkeyhint attribute.
autocapitalizestring | undefined—Native autocapitalize attribute.
spellcheckboolean | undefined—undefined omits the attribute (browser default).

Mask

Name Type DefaultDescription
maskstring | undefined—Input mask — 0 digit, 9 optional digit, # digit/space/sign, L/l letter (required/optional, any script), A/a letter or digit, C/c any character, a backslash escapes a literal; every other character is a literal. Typing overwrites slot by slot and skips literals, Backspace/Delete empty a slot without shifting the rest, paste accepts raw or formatted text, IME composition is applied at compositionend. undefined = a plain text box.
maskRulesOgeMaskRules—Extra or overriding single-character rules — a one-character RegExp, a string of allowed characters or a predicate; custom slots are always required.
maskCharstring'_'Placeholder character of empty mask slots.
showMaskModeOgeMaskShowMode'always''always' shows the empty mask while blurred too (not under a floating label); 'onFocus' only while focused or filled, so the placeholder shows.
includeLiteralsbooleanfalseCommit the formatted text with literals ((555) 123-4567) instead of the raw characters — DevExtreme useMaskedValue.
maskInvalidMessagestring | undefined—Error shown while required slots are empty (after blur, per errorDisplay); falls back to messages.maskInvalidError. A reactive control also gets a { mask } validator attached.
maskValidationbooleantrueThe built-in “required slots are filled” check (Kendo maskValidation): the field error and the reactive-forms { mask } validator. false leaves completeness to your own validators.

Common — field chrome (all editors)

Name Type DefaultDescription
labelstring''Field label; placement follows labelMode.
labelModeOgeInputLabelMode'static'Label placement: static / floating / hidden (aria-only) / outside.
stylingModeOgeInputStylingMode'outlined'Container fill style.
sizeOgeInputSize'md'Container height preset — 28/34/42px, the button scale.
placeholderstring''Native placeholder text.
hintstring | undefined—Helper text in the subscript region (hidden while an error shows).
tooltipstring | undefined—Native title attribute of the input element.
subscriptSizingOgeInputSubscriptSizing'fixed'Whether the hint/error line reserves height, collapses, or is removed.
fluidbooleanfalseStretches the field to 100% width (default 240px via --oge-input-width).
widthnumber | string | undefined—This field’s width — a number is px, a string any CSS length. Sets --oge-input-width on this host only; fluid still wins.
showClearButtonbooleanfalseRenders the clear (✕) button while the field has a value.
showSuccessIconOgeInputShowSuccessIconfalseSuccess icon when valid: false / on touch / always.
idstring | undefined—Base for the generated element ids (input/label/hint/error/counter).
tabIndexnumber0Tab order of the native input.
autofocusbooleanfalseFocuses the editor after its first render.
selectOnFocusbooleanfalseSelects the whole text when the input receives focus.
inputAttrRecord<string, string>{}Escape hatch: extra attributes rendered onto the native input (template-owned attributes are ignored).
messagesPartial<OgeInputsMessages> | undefined—Per-instance overrides of user-facing strings.

Common — state & forms (all editors)

Name Type DefaultDescription
disabledbooleanfalseDisables the editor.
readonlybooleanfalseFocusable but not editable. (Contract name — not readOnly.)
requiredbooleanfalseMarks the field required (label asterisk + validation).
namestring''Native name attribute.
invalidbooleanfalseExternal invalid override — combined with forms state.
pendingbooleanfalseAsync-validation indicator; a spinner shows in the rail while true.
touchedbooleanfalseExternal touched override (Signal Forms contract).
dirtybooleanfalseExternal dirty override (Signal Forms contract).
errorsreadonly OgeFieldError[][]Signal Forms validation errors (auto-bound by [formField]).
errorTextstring | undefined—Explicit error message — always wins over resolved messages.
errorDisplayOgeInputErrorDisplay'touched'When resolved errors become visible.
debouncenumber | undefined—Commit delay in ms for value/forms updates; blur and Enter flush immediately.

Methods 5

Mask

Name Type Description
isMaskComplete(): booleanbooleantrue unless a mask is set and a required slot of the entered value is empty (an empty field counts as complete — leave that to required).

Common (all editors)

Name Type Description
focus(): voidvoidMoves keyboard focus to the native input.
blur(): voidvoidBlurs the native input.
clear(): voidvoidClears the value (commits immediately), keeps focus in the field; no-op when disabled/readonly.
reset(value?: T): voidvoidReturns the field to pristine: sets value (default: empty), clears touched/dirty/parse errors, cancels pending commits. On a reactive-forms-bound editor resets the control itself.

Events 9

Mask

Name Type Description
maskCompletedOgeMaskCompletedEventThe last required mask slot was filled — { value, rawValue, maskedValue }.

Common (all editors)

Name Type Description
valueCommittedOgeInputValueCommittedEvent<T>Every committed change with previousValue + originating DOM event (undefined for programmatic writes) — the reference onValueChanged shape.
inputChangeOgeInputRawEventRaw text on every keystroke, regardless of commit policy.
clearedvoidValue cleared via the clear button / clear().
enterKeyOgeInputKeyEventEnter pressed inside the editor (pending debounce is flushed first).
focusedOgeInputFocusEventThe editor received focus.
blurredOgeInputFocusEventThe editor lost focus.
touchvoidSignal Forms FormValueControl contract — emitted once per blur.
valueChangeTImplicit output of the value model.

OgeMaskedTextBox

oge-masked-text-box

Properties 45

OgeMaskedTextBox

Name Type DefaultDescription
valuemodel<string>''Editor value — two-way. The raw characters, or the formatted text with includeLiterals.
maskstring (required)—Input mask — 0 digit, 9 optional digit, # digit/space/sign, L/l letter (required/optional, any script), A/a letter or digit, C/c any character, a backslash escapes a literal; every other character is a literal. Typing overwrites slot by slot and skips literals, Backspace/Delete empty a slot without shifting the rest, paste accepts raw or formatted text, IME composition is applied at compositionend.
maskRulesOgeMaskRules—Extra or overriding single-character rules — a one-character RegExp, a string of allowed characters or a predicate; custom slots are always required.
maskCharstring'_'Placeholder character of empty mask slots.
showMaskModeOgeMaskShowMode'always''always' shows the empty mask while blurred too (not under a floating label); 'onFocus' only while focused or filled, so the placeholder shows.
includeLiteralsbooleanfalseCommit the formatted text with literals ((555) 123-4567) instead of the raw characters — DevExtreme useMaskedValue.
maskInvalidMessagestring | undefined—Error shown while required slots are empty (after blur, per errorDisplay); falls back to messages.maskInvalidError. A reactive control also gets a { mask } validator attached.
maskValidationbooleantrueThe built-in “required slots are filled” check (Kendo maskValidation): the field error and the reactive-forms { mask } validator. false leaves completeness to your own validators.
spellcheckboolean | undefinedfalseOff by default — masked values are codes, not words.
autocompletestring | undefined'off'Off by default; set e.g. 'tel-national' to let the browser offer phone numbers.
inputModestring | undefined—Native inputmode; unset, a digit-only mask implies 'numeric'.
modeOgeTextBoxMode'text'Native input type (as on the text box).
showCopyButtonbooleanfalseCopy-to-clipboard rail button; copies the value.
enterKeyHintstring | undefined—Native enterkeyhint attribute.
autocapitalizestring | undefined—Native autocapitalize attribute.

Common — field chrome (all editors)

Name Type DefaultDescription
labelstring''Field label; placement follows labelMode.
labelModeOgeInputLabelMode'static'Label placement: static / floating / hidden (aria-only) / outside.
stylingModeOgeInputStylingMode'outlined'Container fill style.
sizeOgeInputSize'md'Container height preset — 28/34/42px, the button scale.
placeholderstring''Native placeholder text.
hintstring | undefined—Helper text in the subscript region (hidden while an error shows).
tooltipstring | undefined—Native title attribute of the input element.
subscriptSizingOgeInputSubscriptSizing'fixed'Whether the hint/error line reserves height, collapses, or is removed.
fluidbooleanfalseStretches the field to 100% width (default 240px via --oge-input-width).
widthnumber | string | undefined—This field’s width — a number is px, a string any CSS length. Sets --oge-input-width on this host only; fluid still wins.
showClearButtonbooleanfalseRenders the clear (✕) button while the field has a value.
showSuccessIconOgeInputShowSuccessIconfalseSuccess icon when valid: false / on touch / always.
idstring | undefined—Base for the generated element ids (input/label/hint/error/counter).
tabIndexnumber0Tab order of the native input.
autofocusbooleanfalseFocuses the editor after its first render.
selectOnFocusbooleanfalseSelects the whole text when the input receives focus.
inputAttrRecord<string, string>{}Escape hatch: extra attributes rendered onto the native input (template-owned attributes are ignored).
messagesPartial<OgeInputsMessages> | undefined—Per-instance overrides of user-facing strings.

Common — state & forms (all editors)

Name Type DefaultDescription
disabledbooleanfalseDisables the editor.
readonlybooleanfalseFocusable but not editable. (Contract name — not readOnly.)
requiredbooleanfalseMarks the field required (label asterisk + validation).
namestring''Native name attribute.
invalidbooleanfalseExternal invalid override — combined with forms state.
pendingbooleanfalseAsync-validation indicator; a spinner shows in the rail while true.
touchedbooleanfalseExternal touched override (Signal Forms contract).
dirtybooleanfalseExternal dirty override (Signal Forms contract).
errorsreadonly OgeFieldError[][]Signal Forms validation errors (auto-bound by [formField]).
errorTextstring | undefined—Explicit error message — always wins over resolved messages.
errorDisplayOgeInputErrorDisplay'touched'When resolved errors become visible.
debouncenumber | undefined—Commit delay in ms for value/forms updates; blur and Enter flush immediately.

Methods 7

OgeMaskedTextBox

Name Type Description
rawValue(): stringstringThe entered characters without literals, whatever includeLiterals says.
maskedValue(): stringstringThe formatted text with literals ('' while empty), whatever includeLiterals says.
isMaskComplete(): booleanbooleantrue unless a mask is set and a required slot of the entered value is empty (an empty field counts as complete — leave that to required).

Common (all editors)

Name Type Description
focus(): voidvoidMoves keyboard focus to the native input.
blur(): voidvoidBlurs the native input.
clear(): voidvoidClears the value (commits immediately), keeps focus in the field; no-op when disabled/readonly.
reset(value?: T): voidvoidReturns the field to pristine: sets value (default: empty), clears touched/dirty/parse errors, cancels pending commits. On a reactive-forms-bound editor resets the control itself.

Events 9

Mask

Name Type Description
maskCompletedOgeMaskCompletedEventThe last required mask slot was filled — { value, rawValue, maskedValue }.

Common (all editors)

Name Type Description
valueCommittedOgeInputValueCommittedEvent<T>Every committed change with previousValue + originating DOM event (undefined for programmatic writes) — the reference onValueChanged shape.
inputChangeOgeInputRawEventRaw text on every keystroke, regardless of commit policy.
clearedvoidValue cleared via the clear button / clear().
enterKeyOgeInputKeyEventEnter pressed inside the editor (pending debounce is flushed first).
focusedOgeInputFocusEventThe editor received focus.
blurredOgeInputFocusEventThe editor lost focus.
touchvoidSignal Forms FormValueControl contract — emitted once per blur.
valueChangeTImplicit output of the value model.

OgeTextArea

oge-text-area

Properties 41

OgeTextArea

Name Type DefaultDescription
valuemodel<string>''Editor value — two-way.
rowsnumber3Visible rows when autoResize is off; the floor when it is on.
autoResizebooleanfalseGrow/shrink with content between minRows and maxRows.
minRowsnumber | undefined—Defaults to rows.
maxRowsnumber | undefined—undefined = unbounded growth.
maxLengthnumber | undefined—Counter denominator / native cap.
minLengthnumber | undefined—Native minlength attribute.
showCounterbooleanfalseGrapheme-accurate character counter.
counterModeOgeInputCounterMode'limit'Enforce maxLength natively, or soft-cap.
spellcheckbooleantrueNon-optional here, unlike the text box.
autocapitalizestring | undefined—Native autocapitalize attribute.

Common — field chrome (all editors)

Name Type DefaultDescription
labelstring''Field label; placement follows labelMode.
labelModeOgeInputLabelMode'static'Label placement: static / floating / hidden (aria-only) / outside.
stylingModeOgeInputStylingMode'outlined'Container fill style.
sizeOgeInputSize'md'Container height preset — 28/34/42px, the button scale.
placeholderstring''Native placeholder text.
hintstring | undefined—Helper text in the subscript region (hidden while an error shows).
tooltipstring | undefined—Native title attribute of the input element.
subscriptSizingOgeInputSubscriptSizing'fixed'Whether the hint/error line reserves height, collapses, or is removed.
fluidbooleanfalseStretches the field to 100% width (default 240px via --oge-input-width).
widthnumber | string | undefined—This field’s width — a number is px, a string any CSS length. Sets --oge-input-width on this host only; fluid still wins.
showClearButtonbooleanfalseRenders the clear (✕) button while the field has a value.
showSuccessIconOgeInputShowSuccessIconfalseSuccess icon when valid: false / on touch / always.
idstring | undefined—Base for the generated element ids (input/label/hint/error/counter).
tabIndexnumber0Tab order of the native input.
autofocusbooleanfalseFocuses the editor after its first render.
selectOnFocusbooleanfalseSelects the whole text when the input receives focus.
inputAttrRecord<string, string>{}Escape hatch: extra attributes rendered onto the native input (template-owned attributes are ignored).
messagesPartial<OgeInputsMessages> | undefined—Per-instance overrides of user-facing strings.

Common — state & forms (all editors)

Name Type DefaultDescription
disabledbooleanfalseDisables the editor.
readonlybooleanfalseFocusable but not editable. (Contract name — not readOnly.)
requiredbooleanfalseMarks the field required (label asterisk + validation).
namestring''Native name attribute.
invalidbooleanfalseExternal invalid override — combined with forms state.
pendingbooleanfalseAsync-validation indicator; a spinner shows in the rail while true.
touchedbooleanfalseExternal touched override (Signal Forms contract).
dirtybooleanfalseExternal dirty override (Signal Forms contract).
errorsreadonly OgeFieldError[][]Signal Forms validation errors (auto-bound by [formField]).
errorTextstring | undefined—Explicit error message — always wins over resolved messages.
errorDisplayOgeInputErrorDisplay'touched'When resolved errors become visible.
debouncenumber | undefined—Commit delay in ms for value/forms updates; blur and Enter flush immediately.

Methods 4

Common (all editors)

Name Type Description
focus(): voidvoidMoves keyboard focus to the native input.
blur(): voidvoidBlurs the native input.
clear(): voidvoidClears the value (commits immediately), keeps focus in the field; no-op when disabled/readonly.
reset(value?: T): voidvoidReturns the field to pristine: sets value (default: empty), clears touched/dirty/parse errors, cancels pending commits. On a reactive-forms-bound editor resets the control itself.

Events 8

Common (all editors)

Name Type Description
valueCommittedOgeInputValueCommittedEvent<T>Every committed change with previousValue + originating DOM event (undefined for programmatic writes) — the reference onValueChanged shape.
inputChangeOgeInputRawEventRaw text on every keystroke, regardless of commit policy.
clearedvoidValue cleared via the clear button / clear().
enterKeyOgeInputKeyEventEnter pressed inside the editor (pending debounce is flushed first).
focusedOgeInputFocusEventThe editor received focus.
blurredOgeInputFocusEventThe editor lost focus.
touchvoidSignal Forms FormValueControl contract — emitted once per blur.
valueChangeTImplicit output of the value model.

OgeNumberBox

oge-number-box

Properties 41

OgeNumberBox

Name Type DefaultDescription
valuemodel<number | null>nullnull is the empty state — never 0.
minnumber | undefined—Lower bound — values clamp on commit (typing is never blocked).
maxnumber | undefined—Upper bound — clamped on commit.
stepnumber1Spin/arrow-key increment. Spinning commits immediately.
showSpinButtonsbooleanfalseUp/down spin buttons with hold-to-repeat.
formatIntl.NumberFormatOptions | undefined—Blur-time display format: applied while unfocused (and after the blur clamp); focus swaps in the editable number, so typing never fights a currency sign or a rounding. style: 'percent' formats display only — the model value is not rescaled.
formatWhileTypingbooleanfalseGroups thousands live while focused (the locale’s separators — Indian 2-digit groups included), keeping the caret beside the digit just typed. The committed value is the same number either way.
maxFractionDigitsnumber | undefined—Caps the fraction digits while typing — extra digits are not accepted (0 refuses the decimal separator). undefined = unlimited.
wheelStepnumber | undefined—Opt-in mouse-wheel stepping by this amount, only while the field is focused (wheel up adds; clamped to min/max). Unset or 0 leaves the wheel to the page.
localestring | undefined—Overrides the application locale (LOCALE_ID).
modeOgeNumberBoxMode'text'Native type attribute; inputmode is always decimal.

Common — field chrome (all editors)

Name Type DefaultDescription
labelstring''Field label; placement follows labelMode.
labelModeOgeInputLabelMode'static'Label placement: static / floating / hidden (aria-only) / outside.
stylingModeOgeInputStylingMode'outlined'Container fill style.
sizeOgeInputSize'md'Container height preset — 28/34/42px, the button scale.
placeholderstring''Native placeholder text.
hintstring | undefined—Helper text in the subscript region (hidden while an error shows).
tooltipstring | undefined—Native title attribute of the input element.
subscriptSizingOgeInputSubscriptSizing'fixed'Whether the hint/error line reserves height, collapses, or is removed.
fluidbooleanfalseStretches the field to 100% width (default 240px via --oge-input-width).
widthnumber | string | undefined—This field’s width — a number is px, a string any CSS length. Sets --oge-input-width on this host only; fluid still wins.
showClearButtonbooleanfalseRenders the clear (✕) button while the field has a value.
showSuccessIconOgeInputShowSuccessIconfalseSuccess icon when valid: false / on touch / always.
idstring | undefined—Base for the generated element ids (input/label/hint/error/counter).
tabIndexnumber0Tab order of the native input.
autofocusbooleanfalseFocuses the editor after its first render.
selectOnFocusbooleanfalseSelects the whole text when the input receives focus.
inputAttrRecord<string, string>{}Escape hatch: extra attributes rendered onto the native input (template-owned attributes are ignored).
messagesPartial<OgeInputsMessages> | undefined—Per-instance overrides of user-facing strings.

Common — state & forms (all editors)

Name Type DefaultDescription
disabledbooleanfalseDisables the editor.
readonlybooleanfalseFocusable but not editable. (Contract name — not readOnly.)
requiredbooleanfalseMarks the field required (label asterisk + validation).
namestring''Native name attribute.
invalidbooleanfalseExternal invalid override — combined with forms state.
pendingbooleanfalseAsync-validation indicator; a spinner shows in the rail while true.
touchedbooleanfalseExternal touched override (Signal Forms contract).
dirtybooleanfalseExternal dirty override (Signal Forms contract).
errorsreadonly OgeFieldError[][]Signal Forms validation errors (auto-bound by [formField]).
errorTextstring | undefined—Explicit error message — always wins over resolved messages.
errorDisplayOgeInputErrorDisplay'touched'When resolved errors become visible.
debouncenumber | undefined—Commit delay in ms for value/forms updates; blur and Enter flush immediately.

Methods 4

Common (all editors)

Name Type Description
focus(): voidvoidMoves keyboard focus to the native input.
blur(): voidvoidBlurs the native input.
clear(): voidvoidClears the value (commits immediately), keeps focus in the field; no-op when disabled/readonly.
reset(value?: T): voidvoidReturns the field to pristine: sets value (default: empty), clears touched/dirty/parse errors, cancels pending commits. On a reactive-forms-bound editor resets the control itself.

Events 8

Common (all editors)

Name Type Description
valueCommittedOgeInputValueCommittedEvent<T>Every committed change with previousValue + originating DOM event (undefined for programmatic writes) — the reference onValueChanged shape.
inputChangeOgeInputRawEventRaw text on every keystroke, regardless of commit policy.
clearedvoidValue cleared via the clear button / clear().
enterKeyOgeInputKeyEventEnter pressed inside the editor (pending debounce is flushed first).
focusedOgeInputFocusEventThe editor received focus.
blurredOgeInputFocusEventThe editor lost focus.
touchvoidSignal Forms FormValueControl contract — emitted once per blur.
valueChangeTImplicit output of the value model.

OgeSelectBox

oge-select-box

Properties 63

OgeSelectBox

Name Type DefaultDescription
valuemodel<unknown>nullCommitted value (the valueExpr of the selected item); two-way.
itemsreadonly TItem[] | OgeSelectBoxItemsFn[]The selectable items: an array, or a function invoked lazily on first open (sync or promise; loading/error rows render while pending). The selected item is resolved from this full set, never the filtered one.
displayExprstring | ((item) => string)—Item → display text. Omitted, the item itself is stringified.
valueExprstring | ((item) => unknown)—Item → committed value. Omitted, the whole item is the value.
disabledExprstring | ((item) => boolean)—Marks individual items as non-selectable.
searchEnabledbooleanfalseEnables typing into the field to filter the list.
searchMode'contains' | 'startswith''contains'How typed search text matches an item.
searchExprstring | string[] | ((item) => string)—Which text the filter matches; defaults to the display text.
minSearchLengthnumber0Characters required before the filter narrows the list.
showDataBeforeSearchbooleanfalseBelow minSearchLength: show the full list (true) or nothing (false).
searchTimeoutnumber | undefined—Debounce before typed text filters the list; undefined = config default (250ms). The displayed text is never debounced.
acceptCustomValuebooleanfalseLets typed text that matches no item become the value (committed on Enter/blur) — see customItemCreating.
groupBystring | ((item) => string)—Groups flat items under headers; items are re-ordered by first-seen group.
imageExprstring | ((item) => string)—Item → image URL rendered before the option text (avatars, flags…). For inline SVG icons use itemTemplate.
showDropDownButtonbooleantrueRenders the chevron toggle in the field rail.
openOnFieldClickbooleantrueClicking the field opens the popup (select-only mode toggles it).
loadingbooleanfalseShows a loading row instead of items — server-side filtering escape hatch.
dropdownPlacementOgePopupPlacement'bottom-start'Preferred popup side/alignment (flips when cramped).
dropdownWidthnumber | 'anchor''anchor'Popup width: fixed pixels or 'anchor' to match the field box.
dropdownMaxHeightnumber | undefined—Scrollable list height cap; undefined = the CSS default (320px).
adaptiveMode / adaptiveBreakpoint'auto' | 'none' / numberconfig: 'none' / 600'auto' presents the popup as a full-width bottom sheet (with a search field at the top when searchEnabled) on viewports narrower than adaptiveBreakpoint px — a titled role="dialog" surface with a close button, scroll lock, inert background, a Tab trap, focus restore, safe-area insets and 16px / 44px touch sizing; Escape, a backdrop tap or a swipe down the handle dismiss it. 'none' keeps the anchored drop-down. App-wide defaults come from provideOgeInputsConfig().
wrapItemTextbooleanfalseWraps long option text instead of ellipsizing it.
useItemTextAsTitlebooleanfalseMirrors each option's display text into its title attribute.
itemTemplateTemplateRef<OgeSelectItemTemplateContext>—Custom option row rendering; context: $implicit, index, selected, active.
virtualScrollboolean | OgeVirtualScrollOptionsfalseWindowed rendering for large lists ({ itemHeight, overscan }). Rows get a fixed size-matched height; groupBy and wrapItemText are ignored while active.
dataSourceOgeListDataSource<TItem> | undefined—Remote, paged data: any @oge-ui/core DataSource (CustomDataSource, ArrayDataSource, CursorDataSource, ODataDataSource) or an object with the same load(), plus an optional byKey(). Replaces items while set: pages of pageSize rows load as the list scrolls (virtual window or scroll position, and the keyboard reaching the end), the typed text is sent as searchText (debounced by searchTimeout, gated by minSearchLength), superseded requests are aborted through the AbortSignal, each search's pages are cached, and a committed value no loaded page holds resolves through byKey. Without totalCount the list keeps paging until a short page arrives.
pageSizenumber | undefinedconfig: 30Rows requested per dataSource page (take); undefined = provideOgeInputsConfig({ dataPageSize }).
groupTemplateTemplateRef<OgeSelectGroupTemplateContext>—Custom group header rendering for groupBy lists; context: $implicit / label.
fieldTemplateTemplateRef<OgeSelectFieldTemplateContext>—Custom rendering of the closed field's value (an icon, a swatch, a two-line label); context: $implicit (the selected item or null) and text. The real input stays underneath for focus, typing and assistive technology; the template hides while the user types.
headerTemplate / footerTemplateTemplateRef<OgeSelectPopupTemplateContext>—Content above / below the popup list (hints, a result count, a "create new" action); context: $implicit (visible items), searchText, loading.
openedmodel<boolean>falsePopup visibility — two-way.
selectedItemSignal<TItem | null>—Read-only: the item whose valueExpr matches value.
displayTextSignal<string>—Read-only: display text of the selected item.

Common — field chrome (all editors)

Name Type DefaultDescription
labelstring''Field label; placement follows labelMode.
labelModeOgeInputLabelMode'static'Label placement: static / floating / hidden (aria-only) / outside.
stylingModeOgeInputStylingMode'outlined'Container fill style.
sizeOgeInputSize'md'Container height preset — 28/34/42px, the button scale.
placeholderstring''Native placeholder text.
hintstring | undefined—Helper text in the subscript region (hidden while an error shows).
tooltipstring | undefined—Native title attribute of the input element.
subscriptSizingOgeInputSubscriptSizing'fixed'Whether the hint/error line reserves height, collapses, or is removed.
fluidbooleanfalseStretches the field to 100% width (default 240px via --oge-input-width).
widthnumber | string | undefined—This field’s width — a number is px, a string any CSS length. Sets --oge-input-width on this host only; fluid still wins.
showClearButtonbooleanfalseRenders the clear (✕) button while the field has a value.
showSuccessIconOgeInputShowSuccessIconfalseSuccess icon when valid: false / on touch / always.
idstring | undefined—Base for the generated element ids (input/label/hint/error/counter).
tabIndexnumber0Tab order of the native input.
autofocusbooleanfalseFocuses the editor after its first render.
selectOnFocusbooleanfalseSelects the whole text when the input receives focus.
inputAttrRecord<string, string>{}Escape hatch: extra attributes rendered onto the native input (template-owned attributes are ignored).
messagesPartial<OgeInputsMessages> | undefined—Per-instance overrides of user-facing strings.

Common — state & forms (all editors)

Name Type DefaultDescription
disabledbooleanfalseDisables the editor.
readonlybooleanfalseFocusable but not editable. (Contract name — not readOnly.)
requiredbooleanfalseMarks the field required (label asterisk + validation).
namestring''Native name attribute.
invalidbooleanfalseExternal invalid override — combined with forms state.
pendingbooleanfalseAsync-validation indicator; a spinner shows in the rail while true.
touchedbooleanfalseExternal touched override (Signal Forms contract).
dirtybooleanfalseExternal dirty override (Signal Forms contract).
errorsreadonly OgeFieldError[][]Signal Forms validation errors (auto-bound by [formField]).
errorTextstring | undefined—Explicit error message — always wins over resolved messages.
errorDisplayOgeInputErrorDisplay'touched'When resolved errors become visible.
debouncenumber | undefined—Commit delay in ms for value/forms updates; blur and Enter flush immediately.

Methods 8

OgeSelectBox methods

Name Type Description
open()voidOpens the popup (no-op while disabled/readonly, or when an opening handler cancels).
close(reason?)booleanCloses the popup unless a closing handler cancels; returns whether it closed.
toggle()voidToggles the popup.
reload()voidDrops every cached dataSource page and re-requests the current search.

Common (all editors)

Name Type Description
focus(): voidvoidMoves keyboard focus to the native input.
blur(): voidvoidBlurs the native input.
clear(): voidvoidClears the value (commits immediately), keeps focus in the field; no-op when disabled/readonly.
reset(value?: T): voidvoidReturns the field to pristine: sets value (default: empty), clears touched/dirty/parse errors, cancels pending commits. On a reactive-forms-bound editor resets the control itself.

Events 16

OgeSelectBox events

Name Type Description
selectionChangedOgeSelectBoxSelectionChangedEventThe resolved selected item changed (user or programmatic) — { item, previousItem }.
itemClickOgeSelectBoxItemClickEventAn option row was activated — { item, index, event }; index is within the visible (filtered) list.
dropDownOpened / dropDownClosedvoidPopup visibility changes, from any trigger.
searchChangedOgeSelectBoxSearchChangedEventRaw search text on every keystroke — drive server-side filtering from here.
customItemCreatingOgeSelectBoxCustomItemEventMutable payload (as in the references): assign customItem — an item, a promise of one, or null to reject the text. Left unset, the raw text becomes the item.
openingOgeDropDownOpeningEventCancelable pre-open event — set event.cancel = true to keep the popup closed.
closingOgeDropDownClosingEventCancelable pre-close event with its reason ('select', 'escape', 'outside', 'tab', 'blur', 'api') — set cancel to keep the popup open.
pageLoadedOgeListPageLoadedEventA dataSource page landed — { searchText, skip, items, totalCount }.

Common (all editors)

Name Type Description
valueCommittedOgeInputValueCommittedEvent<T>Every committed change with previousValue + originating DOM event (undefined for programmatic writes) — the reference onValueChanged shape.
inputChangeOgeInputRawEventRaw text on every keystroke, regardless of commit policy.
clearedvoidValue cleared via the clear button / clear().
enterKeyOgeInputKeyEventEnter pressed inside the editor (pending debounce is flushed first).
focusedOgeInputFocusEventThe editor received focus.
blurredOgeInputFocusEventThe editor lost focus.
touchvoidSignal Forms FormValueControl contract — emitted once per blur.
valueChangeTImplicit output of the value model.

Types 7

Select box types

Name Type Description
OgeSelectBoxDisplayExpr / ValueExpr / DisabledExprstring | fnField-name string or function expressions for display text, committed value and per-item disabling.
OgeSelectBoxSearchMode'contains' | 'startswith'Filter match mode.
OgeSelectItemTemplateContextinterface{ $implicit: TItem; index: number; selected: boolean; active: boolean }.
OgeSelectGroupTemplateContext / OgeSelectFieldTemplateContext / OgeSelectPopupTemplateContextinterfaceContexts of groupTemplate ({ $implicit: label, label }), fieldTemplate ({ $implicit: item | null, text }) and headerTemplate / footerTemplate ({ $implicit: items, searchText, loading }).
OgeListDataSourceinterface{ load(options: LoadOptions): Promise<LoadResult>; byKey?(key) } — structurally a subset of the grid's DataSource, so every core data source fits as is.
OgeDropDownOpeningEvent / OgeDropDownClosingEventinterface{ cancel: boolean } / { reason: OgeDropDownCloseReason; cancel: boolean }.
OgeListPageLoadedEventinterface{ searchText: string; skip: number; items: readonly TItem[]; totalCount?: number }.

OgeTreeSelect

oge-tree-select

Properties 21

Value & data

Name Type DefaultDescription
valueRowKey | readonly RowKey[] | nullnullCommitted value — two-way. The selected node's key in single mode, an array of keys in multiple.
itemsreadonly TItem[] | undefined—Nodes to display — a flat parent-referencing list or nested children.
keyExpr / parentIdExpr / itemsExprstring | ((row: TItem) => …)—Identity and structure accessors, forwarded to the popup tree. itemsExpr switches to hierarchical data.
displayExprstring | ((row: TItem) => unknown)'text'Node label, used both in the tree and for the text shown in the closed field.
disabledExpr / hasItemsExpr / iconExpr / rootValue / dataStructuresee OgeTreeView—Forwarded verbatim to the popup tree.

Selection

Name Type DefaultDescription
selectionMode'single' | 'multiple''single'multiple makes value an array and keeps the popup open while picking.
showCheckBoxes'none' | 'normal' | 'selectAll''none'Checkbox column inside the popup.
selectNodesRecursivebooleantrueCascades selection down to descendants and up to fully-selected parents.
selectedKeysMode'all' | 'leavesOnly' | 'excludeRecursive''all'Projection applied to the committed keys — leavesOnly is usually what you want to store from a cascade.
displayMode'text' | 'count''text'Closed-field rendering for a multiple selection: the joined labels, or just how many are picked. The count is messages.selectedCount (“2 selected”), localized and ICU-plural capable.
showSelectionAs'text' | 'chips''text''chips' renders the selected nodes as removable chips inside the field (each ✕ is labelled removeTagButton + the node text; Backspace removes the last one); 'text' keeps the comma list / displayMode.
maxDisplayedTagsnumber | undefined—In chips mode, caps the rendered chips; the rest fold into a +N more chip.

Popup

Name Type DefaultDescription
openedbooleanfalseWhether the popup is open — two-way.
expandedKeysreadonly RowKey[][]Expanded nodes — two-way, so the shape survives close and reopen.
expandEvent'click' | 'dblclick''dblclick'Which gesture expands inside the popup. Unlike the bare tree this defaults to dblclick — in a picker a single click should choose, and the chevron expands either way.
searchEnabled / searchMode / filterModesee OgeTreeView—Puts the tree's own search box inside the popup.
loadChildren(parent: TItem, key: RowKey) => Promise<readonly TItem[]>—Lazy children, fetched on first expand.
virtualScrollboolean | { itemHeight: number }falseWindowed rendering inside the popup for very large trees.
dropdownPlacement / dropdownWidth / dropdownMaxHeightOgePopupPlacement | number | 'anchor'—Popup geometry. Width defaults to 'anchor' (matches the field), max height to 320px.
adaptiveMode / adaptiveBreakpoint'auto' | 'none' / numberconfig: 'none' / 600'auto' presents the popup as a full-width bottom sheet (a Done action in 'multiple' mode) on viewports narrower than adaptiveBreakpoint px — a titled role="dialog" surface with a close button, scroll lock, inert background, a Tab trap, focus restore, safe-area insets and 16px / 44px touch sizing; Escape, a backdrop tap or a swipe down the handle dismiss it. 'none' keeps the anchored drop-down. App-wide defaults come from provideOgeInputsConfig().
openOnFieldClickbooleantrueOpens on a click anywhere in the field, not only on the chevron.

Methods 2

Name Type Description
open() / close() / toggle()() => voidImperative popup control.
focus() / blur() / reset() / clear()() => voidInherited field-chrome control methods. `clear()` empties the value, commits immediately and keeps focus in the field.

Events 3

Name Type Description
selectionChangedOgeTreeSelectSelectionChangedEventEmitted after the committed selection changed, with keys and previousKeys (always arrays, even in single mode).
dropDownOpened / dropDownClosedvoidPopup lifecycle.
valueCommittedOgeInputValueCommittedEventInherited commit event carrying the previous value.

Types 4

Name Type Description
OgeTreeSelectSelectionMode'single' | 'multiple'How many nodes may be committed.
OgeTreeSelectDisplayMode'text' | 'count'Closed-field rendering of a multiple selection.
OgeTreeSelectShowSelectionAs'text' | 'chips'Text or removable chips in the closed field.
OgeTreeSelectSelectionChangedEvent{ keys, previousKeys }Payload of selectionChanged.

OgeTagBox

oge-tag-box

Properties 53

OgeTagBox

Name Type DefaultDescription
valuemodel<readonly unknown[]>[]Committed values — the valueExpr of every selected item; two-way.
items / displayExpr / valueExpr / disabledExpr / imageExprshared with OgeSelectBox—The tag box reuses the select box expression vocabulary verbatim — items may be a lazy function (loading / error rows render while pending).
searchEnabled / searchMode / searchExprshared with OgeSelectBox—Client-side filtering of the option list.
searchTimeoutnumber | undefined—Debounce before typed text filters. undefined filters local items immediately and debounces dataSource requests by the config default (250ms).
minSearchLength / showDataBeforeSearchnumber / boolean0 / falseCharacters required before the filter narrows the list, and what shows below that.
groupBystring | ((item) => string)—Groups flat items under headers (ignored while virtualScroll is on).
itemTemplateTemplateRef<OgeSelectItemTemplateContext>—Custom option content; the checkbox stays in front of it.
groupTemplateTemplateRef<OgeSelectGroupTemplateContext>—Custom group header rendering.
tagTemplateTemplateRef<OgeTagBoxTagTemplateContext>—Custom chip content; context $implicit (item), index, text. The remove button stays.
acceptCustomValuebooleanfalseEnter on typed text that matches no item creates a new tag — see customItemCreating. An exact display match toggles the existing item instead.
showSelectAllbooleanfalseA tri-state "select all" row above the options (aria-checked true / false / mixed; ArrowUp from the first option reaches it). It acts on the visible, enabled items — the current filter or the loaded pages — honours maxSelectedItems and keeps values selected under other searches. Text: messages.selectAllText.
maxSelectedItemsnumber | undefined—Caps the selection. At the cap unselected options turn inert and the popup shows messages.maxSelectedItemsMessage in a status line.
loadingbooleanfalseShows a loading row instead of items.
dataSourceOgeListDataSource<TItem> | undefined—Remote, paged data: any @oge-ui/core DataSource (CustomDataSource, ArrayDataSource, CursorDataSource, ODataDataSource) or an object with the same load(), plus an optional byKey(). Replaces items while set: pages of pageSize rows load as the list scrolls (virtual window or scroll position, and the keyboard reaching the end), the typed text is sent as searchText (debounced by searchTimeout, gated by minSearchLength), superseded requests are aborted through the AbortSignal, each search's pages are cached, and a committed value no loaded page holds resolves through byKey. Without totalCount the list keeps paging until a short page arrives.
pageSizenumber | undefinedconfig: 30Rows requested per dataSource page (take); undefined = provideOgeInputsConfig({ dataPageSize }).
showSelectionControlsbooleantrueRenders checkboxes in front of the options.
hideSelectedItemsbooleanfalseHides already-selected items from the popup list.
maxDisplayedTagsnumber | undefined—Caps the rendered chips; the rest collapse into a +N more chip (messages.moreTags).
displayMode'chips' | 'text' | 'count''chips'Closed-field rendering of the selection: 'chips', 'text' (one comma-separated line, cut with an ellipsis; the full list is the title) or 'count' (chips up to countThreshold, then messages.selectedCount, e.g. “3 selected”) — for narrow places such as a filter cell. A text or count summary is added to the field's aria-describedby, and Backspace only removes visible chips.
countThresholdnumber1In 'count' mode, how many values still show as chips before the count replaces them.
opened / dropdownPlacement / dropdownWidth / dropdownMaxHeight / showDropDownButton / openOnFieldClickshared with OgeSelectBox—Popup configuration and two-way visibility.
adaptiveMode / adaptiveBreakpoint'auto' | 'none' / numberconfig: 'none' / 600'auto' presents the popup as a full-width bottom sheet (search field when searchEnabled, picks keep it open, a Done action closes it) on viewports narrower than adaptiveBreakpoint px — a titled role="dialog" surface with a close button, scroll lock, inert background, a Tab trap, focus restore, safe-area insets and 16px / 44px touch sizing; Escape, a backdrop tap or a swipe down the handle dismiss it. 'none' keeps the anchored drop-down. App-wide defaults come from provideOgeInputsConfig().
virtualScrollboolean | OgeVirtualScrollOptionsfalseWindowed rendering for large lists — same contract as the select box.

Common — field chrome (all editors)

Name Type DefaultDescription
labelstring''Field label; placement follows labelMode.
labelModeOgeInputLabelMode'static'Label placement: static / floating / hidden (aria-only) / outside.
stylingModeOgeInputStylingMode'outlined'Container fill style.
sizeOgeInputSize'md'Container height preset — 28/34/42px, the button scale.
placeholderstring''Native placeholder text.
hintstring | undefined—Helper text in the subscript region (hidden while an error shows).
tooltipstring | undefined—Native title attribute of the input element.
subscriptSizingOgeInputSubscriptSizing'fixed'Whether the hint/error line reserves height, collapses, or is removed.
fluidbooleanfalseStretches the field to 100% width (default 240px via --oge-input-width).
widthnumber | string | undefined—This field’s width — a number is px, a string any CSS length. Sets --oge-input-width on this host only; fluid still wins.
showClearButtonbooleanfalseRenders the clear (✕) button while the field has a value.
showSuccessIconOgeInputShowSuccessIconfalseSuccess icon when valid: false / on touch / always.
idstring | undefined—Base for the generated element ids (input/label/hint/error/counter).
tabIndexnumber0Tab order of the native input.
autofocusbooleanfalseFocuses the editor after its first render.
selectOnFocusbooleanfalseSelects the whole text when the input receives focus.
inputAttrRecord<string, string>{}Escape hatch: extra attributes rendered onto the native input (template-owned attributes are ignored).
messagesPartial<OgeInputsMessages> | undefined—Per-instance overrides of user-facing strings.

Common — state & forms (all editors)

Name Type DefaultDescription
disabledbooleanfalseDisables the editor.
readonlybooleanfalseFocusable but not editable. (Contract name — not readOnly.)
requiredbooleanfalseMarks the field required (label asterisk + validation).
namestring''Native name attribute.
invalidbooleanfalseExternal invalid override — combined with forms state.
pendingbooleanfalseAsync-validation indicator; a spinner shows in the rail while true.
touchedbooleanfalseExternal touched override (Signal Forms contract).
dirtybooleanfalseExternal dirty override (Signal Forms contract).
errorsreadonly OgeFieldError[][]Signal Forms validation errors (auto-bound by [formField]).
errorTextstring | undefined—Explicit error message — always wins over resolved messages.
errorDisplayOgeInputErrorDisplay'touched'When resolved errors become visible.
debouncenumber | undefined—Commit delay in ms for value/forms updates; blur and Enter flush immediately.

Methods 7

OgeTagBox methods

Name Type Description
open() / close() / toggle()voidPopup control (no-ops while disabled/readonly); close() returns false when a closing handler cancels.
selectAll() / unselectAll()voidSelects (up to maxSelectedItems) / clears the visible, enabled items.
reload()voidDrops every cached dataSource page and re-requests the current search.

Common (all editors)

Name Type Description
focus(): voidvoidMoves keyboard focus to the native input.
blur(): voidvoidBlurs the native input.
clear(): voidvoidClears the value (commits immediately), keeps focus in the field; no-op when disabled/readonly.
reset(value?: T): voidvoidReturns the field to pristine: sets value (default: empty), clears touched/dirty/parse errors, cancels pending commits. On a reactive-forms-bound editor resets the control itself.

Events 16

OgeTagBox events

Name Type Description
selectionChangedOgeTagBoxSelectionChangedEventPer-commit delta — { addedItems, removedItems }.
itemClickOgeTagBoxItemClickEventAn option row was toggled — { item, index, event }.
selectAllValueChangedOgeTagBoxSelectAllEventThe "select all" row was toggled — { selected, event }.
dropDownOpened / dropDownClosedvoidPopup visibility changes, from any trigger.
opening / closingOgeDropDownOpeningEvent / OgeDropDownClosingEventCancelable pre-events — same contract as the select box.
searchChangedOgeSelectBoxSearchChangedEventRaw search text on every keystroke.
customItemCreatingOgeSelectBoxCustomItemEventacceptCustomValue commit: assign customItem (an item, a promise of one, or null to reject).
pageLoadedOgeListPageLoadedEventA dataSource page landed.

Common (all editors)

Name Type Description
valueCommittedOgeInputValueCommittedEvent<T>Every committed change with previousValue + originating DOM event (undefined for programmatic writes) — the reference onValueChanged shape.
inputChangeOgeInputRawEventRaw text on every keystroke, regardless of commit policy.
clearedvoidValue cleared via the clear button / clear().
enterKeyOgeInputKeyEventEnter pressed inside the editor (pending debounce is flushed first).
focusedOgeInputFocusEventThe editor received focus.
blurredOgeInputFocusEventThe editor lost focus.
touchvoidSignal Forms FormValueControl contract — emitted once per blur.
valueChangeTImplicit output of the value model.

Types 3

Tag box types

Name Type Description
OgeTagBoxTagTemplateContextinterface{ $implicit: TItem; index: number; text: string }.
OgeTagBoxSelectAllEventinterface{ selected: boolean; event: Event }.
OgeSelectAllStateboolean | 'mixed'State of the "select all" row.

OgeAutocomplete

oge-autocomplete

Properties 47

OgeAutocomplete

Name Type DefaultDescription
valuemodel<string>''The typed text — the committed value is the string itself, not an item value; two-way.
itemsreadonly TItem[] | OgeSelectBoxItemsFn[]The suggestion items: an array, or a function invoked lazily on first open (sync or promise; loading/error rows render while pending).
displayExpr / disabledExpr / imageExpr / searchExpr / searchMode / groupBy / itemTemplateshared with OgeSelectBox—The autocomplete reuses the select box expression vocabulary and list rendering verbatim (no valueExpr — the value is text).
minSearchLengthnumber1Characters required before suggestions open while typing; deleting below the threshold closes the list.
maxItemCountnumber10Caps the rendered suggestion list.
searchTimeoutnumber | undefined—Debounce before typed text filters the list; undefined = config default (250ms). The displayed text is never debounced.
forceSelectionbooleanfalseReverts non-matching text to the last committed value on blur; an exact display match resolves to the item with its canonical casing.
searchHighlightbooleantrueMarks the matched part of each suggestion (<mark>).
showDropDownButtonbooleanfalseRenders the chevron toggle in the field rail (off by default — reference parity).
openOnFieldClickbooleanfalseClicking the field opens the suggestion list.
loading / dropdownPlacement / dropdownWidth / dropdownMaxHeight / wrapItemText / useItemTextAsTitleshared with OgeSelectBox—Popup configuration and list rendering.
adaptiveMode / adaptiveBreakpoint'auto' | 'none' / numberconfig: 'none' / 600'auto' presents the popup as a full-width bottom sheet with its own text field at the top on viewports narrower than adaptiveBreakpoint px — a titled role="dialog" surface with a close button, scroll lock, inert background, a Tab trap, focus restore, safe-area insets and 16px / 44px touch sizing; Escape, a backdrop tap or a swipe down the handle dismiss it. 'none' keeps the anchored drop-down. App-wide defaults come from provideOgeInputsConfig().
virtualScrollboolean | OgeVirtualScrollOptionsfalseWindowed rendering for large lists — same contract as the select box.
openedmodel<boolean>falsePopup visibility — two-way.
dataSourceOgeListDataSource<TItem> | undefined—Remote, paged suggestions — the typed text is the searchText (debounced by searchTimeout, gated by minSearchLength), further pages load as the list scrolls, superseded requests are aborted and pages are cached per search. maxItemCount does not apply; pageSize does.
pageSizenumber | undefinedconfig: 30Rows requested per dataSource page.
selectedItemSignal<TItem | null>—Read-only: the last picked suggestion; null once the text diverges from it.

Common — field chrome (all editors)

Name Type DefaultDescription
labelstring''Field label; placement follows labelMode.
labelModeOgeInputLabelMode'static'Label placement: static / floating / hidden (aria-only) / outside.
stylingModeOgeInputStylingMode'outlined'Container fill style.
sizeOgeInputSize'md'Container height preset — 28/34/42px, the button scale.
placeholderstring''Native placeholder text.
hintstring | undefined—Helper text in the subscript region (hidden while an error shows).
tooltipstring | undefined—Native title attribute of the input element.
subscriptSizingOgeInputSubscriptSizing'fixed'Whether the hint/error line reserves height, collapses, or is removed.
fluidbooleanfalseStretches the field to 100% width (default 240px via --oge-input-width).
widthnumber | string | undefined—This field’s width — a number is px, a string any CSS length. Sets --oge-input-width on this host only; fluid still wins.
showClearButtonbooleanfalseRenders the clear (✕) button while the field has a value.
showSuccessIconOgeInputShowSuccessIconfalseSuccess icon when valid: false / on touch / always.
idstring | undefined—Base for the generated element ids (input/label/hint/error/counter).
tabIndexnumber0Tab order of the native input.
autofocusbooleanfalseFocuses the editor after its first render.
selectOnFocusbooleanfalseSelects the whole text when the input receives focus.
inputAttrRecord<string, string>{}Escape hatch: extra attributes rendered onto the native input (template-owned attributes are ignored).
messagesPartial<OgeInputsMessages> | undefined—Per-instance overrides of user-facing strings.

Common — state & forms (all editors)

Name Type DefaultDescription
disabledbooleanfalseDisables the editor.
readonlybooleanfalseFocusable but not editable. (Contract name — not readOnly.)
requiredbooleanfalseMarks the field required (label asterisk + validation).
namestring''Native name attribute.
invalidbooleanfalseExternal invalid override — combined with forms state.
pendingbooleanfalseAsync-validation indicator; a spinner shows in the rail while true.
touchedbooleanfalseExternal touched override (Signal Forms contract).
dirtybooleanfalseExternal dirty override (Signal Forms contract).
errorsreadonly OgeFieldError[][]Signal Forms validation errors (auto-bound by [formField]).
errorTextstring | undefined—Explicit error message — always wins over resolved messages.
errorDisplayOgeInputErrorDisplay'touched'When resolved errors become visible.
debouncenumber | undefined—Commit delay in ms for value/forms updates; blur and Enter flush immediately.

Methods 6

OgeAutocomplete methods

Name Type Description
open() / close() / toggle()voidPopup control (no-ops while disabled/readonly).
reload()voidDrops every cached dataSource page and re-requests the current search.

Common (all editors)

Name Type Description
focus(): voidvoidMoves keyboard focus to the native input.
blur(): voidvoidBlurs the native input.
clear(): voidvoidClears the value (commits immediately), keeps focus in the field; no-op when disabled/readonly.
reset(value?: T): voidvoidReturns the field to pristine: sets value (default: empty), clears touched/dirty/parse errors, cancels pending commits. On a reactive-forms-bound editor resets the control itself.

Events 13

OgeAutocomplete events

Name Type Description
selectionChangedOgeAutocompleteSelectionChangedEventA suggestion was picked or the selection was canceled — { item: TItem | null, event? }.
itemClickOgeAutocompleteItemClickEventA suggestion row was activated — { item, index, event }.
dropDownOpened / dropDownClosedvoidPopup visibility changes, from any trigger.
searchChangedOgeSelectBoxSearchChangedEventRaw search text on every keystroke — drive server-side filtering from here.
pageLoadedOgeListPageLoadedEventA dataSource page landed.

Common (all editors)

Name Type Description
valueCommittedOgeInputValueCommittedEvent<T>Every committed change with previousValue + originating DOM event (undefined for programmatic writes) — the reference onValueChanged shape.
inputChangeOgeInputRawEventRaw text on every keystroke, regardless of commit policy.
clearedvoidValue cleared via the clear button / clear().
enterKeyOgeInputKeyEventEnter pressed inside the editor (pending debounce is flushed first).
focusedOgeInputFocusEventThe editor received focus.
blurredOgeInputFocusEventThe editor lost focus.
touchvoidSignal Forms FormValueControl contract — emitted once per blur.
valueChangeTImplicit output of the value model.

Types 2

Autocomplete types

Name Type Description
OgeAutocompleteSelectionChangedEventinterface{ item: TItem | null; event?: Event } — null means the selection was canceled.
OgeVirtualScrollOptionsinterface{ itemHeight?: number; overscan?: number }; default heights come from OGE_SELECT_OPTION_HEIGHT (28/34/40px for sm/md/lg).

OgeMultiColumnComboBox

oge-multi-column-combo-box

Properties 48

OgeMultiColumnComboBox

Name Type DefaultDescription
valuemodel<unknown>nullCommitted value — the selected row's valueExpr (null when empty), or an array of them in multiple mode; two-way.
itemsreadonly TItem[] | OgeSelectBoxItemsFn[]The rows: an array, or a function invoked lazily on first open.
columnsreadonly OgeComboBoxColumn<TItem>[][]Popup columns, left to right: field (dot-notation), caption, width (px or any CSS track), format (Intl options or a function), alignment, searchable, cssClass and an optional cellTemplate.
displayExprstring | ((item) => string)—Row → field text. Omitted, the first column's formatted cell text.
valueExpr / disabledExprstring | fn—Committed value and per-row disabling — the select box vocabulary.
selectionMode'single' | 'multiple''single'multiple makes value an array, renders removable chips, keeps the popup open while picking and sets aria-multiselectable.
searchEnabledbooleantrueTyping filters the rows (it is a combo box).
searchMode / searchExpr / searchTimeout / minSearchLength / showDataBeforeSearchshared with OgeSelectBox—Without searchExpr every column whose searchable is not false is searched by its formatted cell text.
showHeaderbooleantrueRenders the sticky column header row.
showDropDownButton / openOnFieldClick / loadingboolean—Shared with the select box.
maxDisplayedTagsnumber | undefined—In multiple mode, folds chips past the cap into +N more.
dropdownPlacement / dropdownWidth / dropdownMaxHeightOgePopupPlacement / number | 'anchor' / number—Popup geometry. With 'anchor', all-pixel column widths still set the grid's minimum width — the popup scrolls horizontally rather than squeezing columns.
virtualScrollboolean | OgeVirtualScrollOptionsfalseWindowed row rendering. The sticky header shares the scroller, so the window math subtracts one header row.
dataSourceOgeListDataSource<TItem> | undefined—Remote, paged data: any @oge-ui/core DataSource (CustomDataSource, ArrayDataSource, CursorDataSource, ODataDataSource) or an object with the same load(), plus an optional byKey(). Replaces items while set: pages of pageSize rows load as the list scrolls (virtual window or scroll position, and the keyboard reaching the end), the typed text is sent as searchText (debounced by searchTimeout, gated by minSearchLength), superseded requests are aborted through the AbortSignal, each search's pages are cached, and a committed value no loaded page holds resolves through byKey. Without totalCount the list keeps paging until a short page arrives.
pageSizenumber | undefinedconfig: 30Rows requested per dataSource page (take); undefined = provideOgeInputsConfig({ dataPageSize }).
openedmodel<boolean>falsePopup visibility — two-way.
adaptiveMode / adaptiveBreakpoint'auto' | 'none' / numberconfig: 'none' / 600'auto' presents the grid as a bottom sheet (title, close button, a search field, a Done action in multiple mode) on viewports narrower than the breakpoint.
selectedItems / selectedItemSignal<readonly TItem[]> / Signal<TItem | null>—Read-only: the rows the value resolves to.

Common — field chrome (all editors)

Name Type DefaultDescription
labelstring''Field label; placement follows labelMode.
labelModeOgeInputLabelMode'static'Label placement: static / floating / hidden (aria-only) / outside.
stylingModeOgeInputStylingMode'outlined'Container fill style.
sizeOgeInputSize'md'Container height preset — 28/34/42px, the button scale.
placeholderstring''Native placeholder text.
hintstring | undefined—Helper text in the subscript region (hidden while an error shows).
tooltipstring | undefined—Native title attribute of the input element.
subscriptSizingOgeInputSubscriptSizing'fixed'Whether the hint/error line reserves height, collapses, or is removed.
fluidbooleanfalseStretches the field to 100% width (default 240px via --oge-input-width).
widthnumber | string | undefined—This field’s width — a number is px, a string any CSS length. Sets --oge-input-width on this host only; fluid still wins.
showClearButtonbooleanfalseRenders the clear (✕) button while the field has a value.
showSuccessIconOgeInputShowSuccessIconfalseSuccess icon when valid: false / on touch / always.
idstring | undefined—Base for the generated element ids (input/label/hint/error/counter).
tabIndexnumber0Tab order of the native input.
autofocusbooleanfalseFocuses the editor after its first render.
selectOnFocusbooleanfalseSelects the whole text when the input receives focus.
inputAttrRecord<string, string>{}Escape hatch: extra attributes rendered onto the native input (template-owned attributes are ignored).
messagesPartial<OgeInputsMessages> | undefined—Per-instance overrides of user-facing strings.

Common — state & forms (all editors)

Name Type DefaultDescription
disabledbooleanfalseDisables the editor.
readonlybooleanfalseFocusable but not editable. (Contract name — not readOnly.)
requiredbooleanfalseMarks the field required (label asterisk + validation).
namestring''Native name attribute.
invalidbooleanfalseExternal invalid override — combined with forms state.
pendingbooleanfalseAsync-validation indicator; a spinner shows in the rail while true.
touchedbooleanfalseExternal touched override (Signal Forms contract).
dirtybooleanfalseExternal dirty override (Signal Forms contract).
errorsreadonly OgeFieldError[][]Signal Forms validation errors (auto-bound by [formField]).
errorTextstring | undefined—Explicit error message — always wins over resolved messages.
errorDisplayOgeInputErrorDisplay'touched'When resolved errors become visible.
debouncenumber | undefined—Commit delay in ms for value/forms updates; blur and Enter flush immediately.

Methods 6

OgeMultiColumnComboBox methods

Name Type Description
open() / close() / toggle()voidPopup control; close() returns false when a closing handler cancels.
reload()voidDrops every cached dataSource page and re-requests the current search.

Common (all editors)

Name Type Description
focus(): voidvoidMoves keyboard focus to the native input.
blur(): voidvoidBlurs the native input.
clear(): voidvoidClears the value (commits immediately), keeps focus in the field; no-op when disabled/readonly.
reset(value?: T): voidvoidReturns the field to pristine: sets value (default: empty), clears touched/dirty/parse errors, cancels pending commits. On a reactive-forms-bound editor resets the control itself.

Events 14

OgeMultiColumnComboBox events

Name Type Description
selectionChangedOgeMultiColumnComboBoxSelectionChangedEvent{ selectedItems, addedItems, removedItems } on every commit.
rowClickOgeMultiColumnComboBoxRowClickEventA row was activated — { item, index, event }.
dropDownOpened / dropDownClosedvoidPopup visibility changes.
opening / closingOgeDropDownOpeningEvent / OgeDropDownClosingEventCancelable pre-events.
searchChangedOgeSelectBoxSearchChangedEventRaw search text on every keystroke.
pageLoadedOgeListPageLoadedEventA dataSource page landed.

Common (all editors)

Name Type Description
valueCommittedOgeInputValueCommittedEvent<T>Every committed change with previousValue + originating DOM event (undefined for programmatic writes) — the reference onValueChanged shape.
inputChangeOgeInputRawEventRaw text on every keystroke, regardless of commit policy.
clearedvoidValue cleared via the clear button / clear().
enterKeyOgeInputKeyEventEnter pressed inside the editor (pending debounce is flushed first).
focusedOgeInputFocusEventThe editor received focus.
blurredOgeInputFocusEventThe editor lost focus.
touchvoidSignal Forms FormValueControl contract — emitted once per blur.
valueChangeTImplicit output of the value model.

Types 4

Multi-column combo box types

Name Type Description
OgeComboBoxColumninterface{ field; caption?; width?: number | string; format?: Intl.NumberFormatOptions | Intl.DateTimeFormatOptions | ((value, item) => string); alignment?: 'start' | 'center' | 'end'; searchable?; cssClass?; cellTemplate? }.
OgeComboBoxCellTemplateContextinterface{ $implicit: TItem; value; text; rowIndex }.
OgeMultiColumnComboBoxSelectionMode'single' | 'multiple'How many rows may be committed.
Keyboard (APG combobox with grid popup)keysDown/Up open and move rows; once in the grid Left/Right/Home/End move between cells (mirrored in RTL) and Ctrl+Home/End jump to the first/last row; PageUp/PageDown move ten rows; Enter (and Space after navigating) commits; Alt+Up commits and closes; Escape closes, then clears the search; Backspace removes the last chip in multiple mode.

OgeCheckBox

oge-check-box

Properties 18

OgeCheckBox

Name Type DefaultDescription
labelstring''Text rendered beside the control.
valuemodel<boolean | null>falsetrue/false, or null for the indeterminate (dash) state — two-way. null renders regardless of threeState.
threeStatebooleanfalseLets users cycle into the indeterminate state: null → true → false → null (the reference cycle).
textstring''Label text; the default <ng-content> slot renders when unset.
size'sm' | 'md' | 'lg''md'Glyph/font size preset.
tooltipstring | undefined—Native title on the label element.

Common — state & forms (all editors)

Name Type DefaultDescription
disabledbooleanfalseDisables the editor.
readonlybooleanfalseFocusable but not editable. (Contract name — not readOnly.)
requiredbooleanfalseMarks the field required (label asterisk + validation).
namestring''Native name attribute.
invalidbooleanfalseExternal invalid override — combined with forms state.
pendingbooleanfalseAsync-validation indicator; a spinner shows in the rail while true.
touchedbooleanfalseExternal touched override (Signal Forms contract).
dirtybooleanfalseExternal dirty override (Signal Forms contract).
errorsreadonly OgeFieldError[][]Signal Forms validation errors (auto-bound by [formField]).
errorTextstring | undefined—Explicit error message — always wins over resolved messages.
errorDisplayOgeInputErrorDisplay'touched'When resolved errors become visible.
debouncenumber | undefined—Commit delay in ms for value/forms updates; blur and Enter flush immediately.

Methods 5

OgeCheckBox methods

Name Type Description
toggle(): voidvoidAdvances the state exactly like a user click (respects threeState, no-op while disabled/readonly).

Common (all editors)

Name Type Description
focus(): voidvoidMoves keyboard focus to the native input.
blur(): voidvoidBlurs the native input.
clear(): voidvoidClears the value (commits immediately), keeps focus in the field; no-op when disabled/readonly.
reset(value?: T): voidvoidReturns the field to pristine: sets value (default: empty), clears touched/dirty/parse errors, cancels pending commits. On a reactive-forms-bound editor resets the control itself.

Events 8

Common (all editors)

Name Type Description
valueCommittedOgeInputValueCommittedEvent<T>Every committed change with previousValue + originating DOM event (undefined for programmatic writes) — the reference onValueChanged shape.
inputChangeOgeInputRawEventRaw text on every keystroke, regardless of commit policy.
clearedvoidValue cleared via the clear button / clear().
enterKeyOgeInputKeyEventEnter pressed inside the editor (pending debounce is flushed first).
focusedOgeInputFocusEventThe editor received focus.
blurredOgeInputFocusEventThe editor lost focus.
touchvoidSignal Forms FormValueControl contract — emitted once per blur.
valueChangeTImplicit output of the value model.

OgeSlider

oge-slider

Properties 25

OgeSlider

Name Type DefaultDescription
valuemodel<number>0The slider value — two-way. Programmatic writes clamp and snap to the step grid.
min / maxnumber | undefined0 / 100Scale bounds. Typed number | undefined because the Signal Forms contract reserves these member names — undefined falls back to 0/100.
stepnumber1Arrow-key and drag increment; thumbs always sit on this grid, with float-error correction (0.1-style steps never drift).
largeStepnumber | undefined—PageUp/PageDown increment; undefined means step × 10.
orientation'horizontal' | 'vertical''horizontal'A vertical slider announces aria-orientation="vertical"; Up still increases (APG).
showRangebooleantrueFills the selected portion of the track.
showTicks / tickStepboolean / number | undefinedfalseTick marks on the tickStep grid — falling back to largeStep, then step; capped at 200 marks.
showTickLabelsbooleanfalseFormatted labels under each tick (Kendo's tick title callback, fed by formatValue).
showLabelsbooleanfalseFormatted min/max labels at the track ends.
valueIndicator'none' | 'active' | 'always''none'The inline value bubble: 'active' while focused, dragged or hovered (Material's discrete plus DevExtreme's showMode: 'onHover'), 'always' permanent.
formatValue(value: number) => string | undefined—Formats the bubble, the end labels and aria-valuetext — display and announcement never diverge.
showButtonsbooleanfalseKendo-style increment/decrement buttons with press-and-hold repeat — the number box's spin timing config.
ariaLabelstring | undefined—Accessible name of the thumb; the localized sliderHandle message is the fallback.

Common — state & forms (all editors)

Name Type DefaultDescription
disabledbooleanfalseDisables the editor.
readonlybooleanfalseFocusable but not editable. (Contract name — not readOnly.)
requiredbooleanfalseMarks the field required (label asterisk + validation).
namestring''Native name attribute.
invalidbooleanfalseExternal invalid override — combined with forms state.
pendingbooleanfalseAsync-validation indicator; a spinner shows in the rail while true.
touchedbooleanfalseExternal touched override (Signal Forms contract).
dirtybooleanfalseExternal dirty override (Signal Forms contract).
errorsreadonly OgeFieldError[][]Signal Forms validation errors (auto-bound by [formField]).
errorTextstring | undefined—Explicit error message — always wins over resolved messages.
errorDisplayOgeInputErrorDisplay'touched'When resolved errors become visible.
debouncenumber | undefined—Commit delay in ms for value/forms updates; blur and Enter flush immediately.

Methods 4

Common (all editors)

Name Type Description
focus(): voidvoidMoves keyboard focus to the native input.
blur(): voidvoidBlurs the native input.
clear(): voidvoidClears the value (commits immediately), keeps focus in the field; no-op when disabled/readonly.
reset(value?: T): voidvoidReturns the field to pristine: sets value (default: empty), clears touched/dirty/parse errors, cancels pending commits. On a reactive-forms-bound editor resets the control itself.

Events 10

OgeSlider events

Name Type Description
dragStartedOgeSliderDragStartedEventA drag gesture began on the thumb or the track.
slideEndedOgeSliderSlideEndedEvent<number>Fires once per gesture at release — DevExtreme's onHandleRelease timing without a mode switch (live changes stream through valueCommitted, throttled by debounce). Not emitted when Escape cancels the gesture.

Common (all editors)

Name Type Description
valueCommittedOgeInputValueCommittedEvent<T>Every committed change with previousValue + originating DOM event (undefined for programmatic writes) — the reference onValueChanged shape.
inputChangeOgeInputRawEventRaw text on every keystroke, regardless of commit policy.
clearedvoidValue cleared via the clear button / clear().
enterKeyOgeInputKeyEventEnter pressed inside the editor (pending debounce is flushed first).
focusedOgeInputFocusEventThe editor received focus.
blurredOgeInputFocusEventThe editor lost focus.
touchvoidSignal Forms FormValueControl contract — emitted once per blur.
valueChangeTImplicit output of the value model.

Types 3

Name Type Description
OgeSliderOrientation'horizontal' | 'vertical'Axis the track lays along.
OgeSliderValueIndicator'none' | 'active' | 'always'When the inline value bubble shows.
OgeSliderDragStartedEvent / OgeSliderSlideEndedEvent<T>{ event } / { value; event }The drag gesture pair.

OgeRangeSlider

oge-range-slider

Properties 17

OgeRangeSlider

Name Type DefaultDescription
valuemodel<readonly [number, number]>[0, 0]The [start, end] pair — two-way. Programmatic writes clamp, snap and sort.
minRangenumber0Minimum distance kept between the thumbs — reflected in each thumb’s dynamic aria-valuemin/aria-valuemax (the APG multi-thumb constraint).
startAriaLabel / endAriaLabelstring | undefined—Accessible names of the thumbs; the localized sliderStartHandle/sliderEndHandle messages are the fallbacks.
startName / endNamestring''Hidden-input names for plain HTML form posts — DevExtreme's startName/endName contract (the single slider uses the inherited name).

Shared with OgeSlider

Name Type DefaultDescription
min / max / step / largeStep / orientation / showRange / showTicks / tickStep / showLabels / valueIndicator / formatValue——The full scale/appearance surface of OgeSlider, identical semantics. showButtons is single-slider only (the Kendo split). Clicking the track moves the nearest thumb.

Common — state & forms (all editors)

Name Type DefaultDescription
disabledbooleanfalseDisables the editor.
readonlybooleanfalseFocusable but not editable. (Contract name — not readOnly.)
requiredbooleanfalseMarks the field required (label asterisk + validation).
namestring''Native name attribute.
invalidbooleanfalseExternal invalid override — combined with forms state.
pendingbooleanfalseAsync-validation indicator; a spinner shows in the rail while true.
touchedbooleanfalseExternal touched override (Signal Forms contract).
dirtybooleanfalseExternal dirty override (Signal Forms contract).
errorsreadonly OgeFieldError[][]Signal Forms validation errors (auto-bound by [formField]).
errorTextstring | undefined—Explicit error message — always wins over resolved messages.
errorDisplayOgeInputErrorDisplay'touched'When resolved errors become visible.
debouncenumber | undefined—Commit delay in ms for value/forms updates; blur and Enter flush immediately.

Methods 4

Common (all editors)

Name Type Description
focus(): voidvoidMoves keyboard focus to the native input.
blur(): voidvoidBlurs the native input.
clear(): voidvoidClears the value (commits immediately), keeps focus in the field; no-op when disabled/readonly.
reset(value?: T): voidvoidReturns the field to pristine: sets value (default: empty), clears touched/dirty/parse errors, cancels pending commits. On a reactive-forms-bound editor resets the control itself.

Events 9

OgeRangeSlider events

Name Type Description
dragStarted / slideEndedOgeSliderSlideEndedEvent<readonly [number, number]>The drag gesture pair; an unchanged pair never re-emits valueCommitted.

Common (all editors)

Name Type Description
valueCommittedOgeInputValueCommittedEvent<T>Every committed change with previousValue + originating DOM event (undefined for programmatic writes) — the reference onValueChanged shape.
inputChangeOgeInputRawEventRaw text on every keystroke, regardless of commit policy.
clearedvoidValue cleared via the clear button / clear().
enterKeyOgeInputKeyEventEnter pressed inside the editor (pending debounce is flushed first).
focusedOgeInputFocusEventThe editor received focus.
blurredOgeInputFocusEventThe editor lost focus.
touchvoidSignal Forms FormValueControl contract — emitted once per blur.
valueChangeTImplicit output of the value model.

OgeSwitch

oge-switch

Properties 16

OgeSwitch

Name Type DefaultDescription
valuemodel<boolean>falseThe on/off state — two-way.
labelstring''Accessible name (aria-label).
onText / offTextstring | undefined—Track texts; undefined falls back to the localized switchOn/switchOff messages ('ON'/'OFF'), empty strings hide the text.
size'sm' | 'md' | 'lg''md'Track size preset.

Common — state & forms (all editors)

Name Type DefaultDescription
disabledbooleanfalseDisables the editor.
readonlybooleanfalseFocusable but not editable. (Contract name — not readOnly.)
requiredbooleanfalseMarks the field required (label asterisk + validation).
namestring''Native name attribute.
invalidbooleanfalseExternal invalid override — combined with forms state.
pendingbooleanfalseAsync-validation indicator; a spinner shows in the rail while true.
touchedbooleanfalseExternal touched override (Signal Forms contract).
dirtybooleanfalseExternal dirty override (Signal Forms contract).
errorsreadonly OgeFieldError[][]Signal Forms validation errors (auto-bound by [formField]).
errorTextstring | undefined—Explicit error message — always wins over resolved messages.
errorDisplayOgeInputErrorDisplay'touched'When resolved errors become visible.
debouncenumber | undefined—Commit delay in ms for value/forms updates; blur and Enter flush immediately.

Methods 5

OgeSwitch methods

Name Type Description
toggle(): voidvoidFlips the state (no-op while disabled/readonly).

Common (all editors)

Name Type Description
focus(): voidvoidMoves keyboard focus to the native input.
blur(): voidvoidBlurs the native input.
clear(): voidvoidClears the value (commits immediately), keeps focus in the field; no-op when disabled/readonly.
reset(value?: T): voidvoidReturns the field to pristine: sets value (default: empty), clears touched/dirty/parse errors, cancels pending commits. On a reactive-forms-bound editor resets the control itself.

Events 8

Common (all editors)

Name Type Description
valueCommittedOgeInputValueCommittedEvent<T>Every committed change with previousValue + originating DOM event (undefined for programmatic writes) — the reference onValueChanged shape.
inputChangeOgeInputRawEventRaw text on every keystroke, regardless of commit policy.
clearedvoidValue cleared via the clear button / clear().
enterKeyOgeInputKeyEventEnter pressed inside the editor (pending debounce is flushed first).
focusedOgeInputFocusEventThe editor received focus.
blurredOgeInputFocusEventThe editor lost focus.
touchvoidSignal Forms FormValueControl contract — emitted once per blur.
valueChangeTImplicit output of the value model.

OgeRadioGroup

oge-radio-group

Properties 19

OgeRadioGroup

Name Type DefaultDescription
valuemodel<unknown>nullThe selected item's valueExpr result; two-way.
itemsreadonly TItem[][]The selectable items.
displayExpr / valueExpr / disabledExprshared with OgeSelectBox—Field-name string or function expressions — the select box vocabulary.
layout'vertical' | 'horizontal''vertical'Column or row arrangement.
labelstring''Accessible name of the group (aria-label).
itemTemplateTemplateRef<OgeSelectItemTemplateContext>—Custom item rendering next to the radio dot; context: $implicit, index, selected, active.
size'sm' | 'md' | 'lg''md'Dot/font size preset.

Common — state & forms (all editors)

Name Type DefaultDescription
disabledbooleanfalseDisables the editor.
readonlybooleanfalseFocusable but not editable. (Contract name — not readOnly.)
requiredbooleanfalseMarks the field required (label asterisk + validation).
namestring''Native name attribute.
invalidbooleanfalseExternal invalid override — combined with forms state.
pendingbooleanfalseAsync-validation indicator; a spinner shows in the rail while true.
touchedbooleanfalseExternal touched override (Signal Forms contract).
dirtybooleanfalseExternal dirty override (Signal Forms contract).
errorsreadonly OgeFieldError[][]Signal Forms validation errors (auto-bound by [formField]).
errorTextstring | undefined—Explicit error message — always wins over resolved messages.
errorDisplayOgeInputErrorDisplay'touched'When resolved errors become visible.
debouncenumber | undefined—Commit delay in ms for value/forms updates; blur and Enter flush immediately.

Methods 4

Common (all editors)

Name Type Description
focus(): voidvoidMoves keyboard focus to the native input.
blur(): voidvoidBlurs the native input.
clear(): voidvoidClears the value (commits immediately), keeps focus in the field; no-op when disabled/readonly.
reset(value?: T): voidvoidReturns the field to pristine: sets value (default: empty), clears touched/dirty/parse errors, cancels pending commits. On a reactive-forms-bound editor resets the control itself.

Events 9

OgeRadioGroup events

Name Type Description
itemClickOgeRadioGroupItemClickEventA radio item was activated by click or keyboard — { item, index, event }.

Common (all editors)

Name Type Description
valueCommittedOgeInputValueCommittedEvent<T>Every committed change with previousValue + originating DOM event (undefined for programmatic writes) — the reference onValueChanged shape.
inputChangeOgeInputRawEventRaw text on every keystroke, regardless of commit policy.
clearedvoidValue cleared via the clear button / clear().
enterKeyOgeInputKeyEventEnter pressed inside the editor (pending debounce is flushed first).
focusedOgeInputFocusEventThe editor received focus.
blurredOgeInputFocusEventThe editor lost focus.
touchvoidSignal Forms FormValueControl contract — emitted once per blur.
valueChangeTImplicit output of the value model.

OgeCalendar

oge-calendar

Properties 30

Slot & locale helper

Name Type DefaultDescription
*ogeCalendarCellTemplateOgeCalendarCellTemplate—Replaces the default day-cell rendering — badges, prices, availability dots. Also usable on oge-date-box and oge-date-range-box, which project into the same calendar.
datePartOrder(locale, kind)(locale: string | undefined, kind: 'date' | 'datetime' | 'time') => string[]—The order a locale writes date parts in, derived from Intl. Drives locale-aware typed parsing; exported so consumers can build their own date editors on the same rules.

OgeCalendar

Name Type DefaultDescription
labelstring''Accessible name of the grid (aria-label); the messages supply a default.
valuemodel<Date | null>nullThe selected day (single mode) — two-way, local Date.
valuesmodel<readonly Date[]>[]Selected days for selectionMode: 'multiple' — two-way.
selectionMode'single' | 'multiple' | 'range''single'Range mode picks a start–end pair with a live hover preview.
rangemodel<[Date | null, Date | null]>[null, null]The selected tuple for selectionMode: 'range' — two-way; either end may stay open.
viewsCount1 | 21Side-by-side month views (2 is the range layout).
zoomLevel / minZoomLevel / maxZoomLevel'month' | 'year' | 'decade''month' / 'decade' / 'month'Drill level (two-way) and its reachable bounds; dx's 'century' is deliberately dropped.
min / maxDate | undefined—Day bounds; undefined = unbounded (no dx 1000–3000 defaults).
disabledDatesDate[] | ((d: Date) => boolean)—Individual unselectable days.
firstDayOfWeeknumber | undefined—0–6 (Sunday-first); undefined resolves from the locale's Intl week info.
showWeekNumbersboolean | { rule: 'firstDay' | 'firstFourDays' | 'fullWeek' }falseWeek-number column; true = the ISO rule.
showTodayButtonbooleanfalseRenders the localized today shortcut.
focusedDatemodel<Date | null>—The keyboard-focused day — two-way (controlled navigation).
localestring | undefined—BCP 47 locale for all texts (Intl).
timeZonestringundefinedIANA zone the days are read in: value, values and range stay instants, the grid shows their day on that zone's clocks, a picked day is that zone's midnight and "today" is the zone's today. Unset = the runtime's own zone.
cellTemplateTemplateRef<OgeCalendarCellTemplateContext>—Custom cell rendering — also available as the projected [ogeCalendarCellTemplate] slot.

Common — state & forms (all editors)

Name Type DefaultDescription
disabledbooleanfalseDisables the editor.
readonlybooleanfalseFocusable but not editable. (Contract name — not readOnly.)
requiredbooleanfalseMarks the field required (label asterisk + validation).
namestring''Native name attribute.
invalidbooleanfalseExternal invalid override — combined with forms state.
pendingbooleanfalseAsync-validation indicator; a spinner shows in the rail while true.
touchedbooleanfalseExternal touched override (Signal Forms contract).
dirtybooleanfalseExternal dirty override (Signal Forms contract).
errorsreadonly OgeFieldError[][]Signal Forms validation errors (auto-bound by [formField]).
errorTextstring | undefined—Explicit error message — always wins over resolved messages.
errorDisplayOgeInputErrorDisplay'touched'When resolved errors become visible.
debouncenumber | undefined—Commit delay in ms for value/forms updates; blur and Enter flush immediately.

Methods 4

Common (all editors)

Name Type Description
focus(): voidvoidMoves keyboard focus to the native input.
blur(): voidvoidBlurs the native input.
clear(): voidvoidClears the value (commits immediately), keeps focus in the field; no-op when disabled/readonly.
reset(value?: T): voidvoidReturns the field to pristine: sets value (default: empty), clears touched/dirty/parse errors, cancels pending commits. On a reactive-forms-bound editor resets the control itself.

Events 9

OgeCalendar events

Name Type Description
cellClickOgeCalendarCellClickEventA day/month/year cell was activated — { date, view, event }.

Common (all editors)

Name Type Description
valueCommittedOgeInputValueCommittedEvent<T>Every committed change with previousValue + originating DOM event (undefined for programmatic writes) — the reference onValueChanged shape.
inputChangeOgeInputRawEventRaw text on every keystroke, regardless of commit policy.
clearedvoidValue cleared via the clear button / clear().
enterKeyOgeInputKeyEventEnter pressed inside the editor (pending debounce is flushed first).
focusedOgeInputFocusEventThe editor received focus.
blurredOgeInputFocusEventThe editor lost focus.
touchvoidSignal Forms FormValueControl contract — emitted once per blur.
valueChangeTImplicit output of the value model.

OgeDateBox

oge-date-box

Properties 57

OgeDateBox

Name Type DefaultDescription
dropdownPlacementOgePopupPlacement'bottom-start'Preferred popup side/alignment; flips when it would clip.
adaptiveMode / adaptiveBreakpoint'auto' | 'none' / numberconfig: 'none' / 600'auto' presents the popup as a full-screen dialog with 44px day cells on viewports narrower than adaptiveBreakpoint px — a titled role="dialog" surface with a close button, scroll lock, inert background, a Tab trap, focus restore, safe-area insets and 16px / 44px touch sizing; Escape, a backdrop tap or a swipe down the handle dismiss it. 'none' keeps the anchored drop-down. App-wide defaults come from provideOgeInputsConfig().
showDropDownButtonbooleantrueRenders the rail button that toggles the picker; the field click and the keyboard still open it when hidden.
valuemodel<Date | null>nullAlways a local Date — serialization is the app's concern (no dateSerializationFormat). CVA writes accept ISO-like strings and epoch numbers leniently.
type'date' | 'time' | 'datetime''date'Picker: calendar, interval time list, or both (no dx pickerType). The rail icon follows the type.
displayFormatIntl.DateTimeFormatOptions | ((d: Date) => string)—Display text; undefined = per-type Intl defaults. No format strings, no date library.
min / max / disabledDatesas OgeCalendar—Out-of-range typed text marks the field invalid — it is never clamped (unlike the number box).
intervalnumber30Time list step in minutes.
timeView'list' | 'columns''list'Time picker layout: one interval list, or hour + minute columns (plus seconds / AM-PM columns when enabled). Each column is a labelled listbox.
hour12boolean | undefined—Clock of the display text and the picker. true adds an AM/PM column to timeView: 'columns' (hours 12, 1 … 11); false forces 24-hour; undefined follows the locale with the single 24-entry hour column.
showSecondsbooleanfalseSeconds in the display text (timeStyle: 'medium'), a seconds column and a seconds segment of the masked entry; typed HH:MM:SS parses. Off, picks zero the seconds.
showTodayButtonbooleanfalseFooter "Today" button (date / datetime): picks today through the calendar path — datetime keeps the time of day. Disabled when min/max/disabledDates exclude today.
showNowButtonbooleanfalseFooter "Now" button (time / datetime): commits the current time (seconds kept only with showSeconds) and closes; with useButtons it drafts instead.
timeZonestringundefinedIANA zone the value is shown and edited in ('Europe/Istanbul', 'UTC'). The value stays an instant: the field and the calendar show its wall clock in this zone, Today / Now are the zone's, and a picked day or time is that zone's. A date-only value a server keeps as UTC midnight reads right with timeZone="UTC". Unset = the runtime's own zone.
useMaskBehaviorbooleanfalseSegment entry (DevExtreme useMaskBehavior): the field shows the locale’s numeric pattern (dd.mm.yyyy, mm/dd/yyyy… from Intl), digits fill the selected segment and auto-advance, ArrowUp/Down step it with wrap-around, ArrowLeft/Right (mirrored in RTL) and Home/End move between segments, Backspace/Delete clear, a typed separator moves on, a/p set AM/PM, paste reads a whole date and Alt+ArrowDown opens the picker. Commits on blur/Enter like typed text; impossible dates show the invalid state and revert. displayFormat is not used while it is on.
applyValueMode'instantly' | 'useButtons''instantly'OK/Cancel footer collects picker changes in a draft when useButtons.
acceptCustomValuebooleantruefalse makes the text read-only (picker input only).
openOnFieldClickbooleantrueClicking the field opens the picker.
firstDayOfWeek / showWeekNumbers / zoomLevel / calendarCellTemplate / localecalendar passthroughs—Exposed individually — no calendarOptions kitchen-sink object.
openedmodel<boolean>falsePicker visibility — two-way.

OgeDateRangeBox

Name Type DefaultDescription
valuemodel<[Date | null, Date | null]>[null, null]Start–end tuple on one field: two parsed inputs + a two-view range calendar popup. A reversed pair reorders on commit; either end may stay open.
typeOgeDateRangeBoxType'date''datetime' adds start/end time lists to the picker: day and time picks collect in a draft and commit together on OK; both sides parse and render times. 'time' is a time-range picker — no calendar, two time lists and OK.
presetsreadonly OgeDateRangePreset[][]Quick ranges listed beside the calendar (a horizontal chip row in the adaptive dialog), each an aria-pressed button that reads pressed while the draft matches it. { label, range: () => [start, end] } — range is evaluated on render and on pick, never at construction — or the built-in ogeDateRangePresets.today() / yesterday() / last7Days() / last30Days() / thisWeek() / lastWeek() / thisMonth() / lastMonth() / thisYear() / lastYear(), labelled from the messages. A date box commits and closes on a pick; time/datetime and the adaptive dialog draft it for OK/Done.
hour12 / showSecondsboolean | undefined / boolean—Clock and seconds of the display text and the time lists, as on OgeDateBox.
intervalnumber30Time list step in minutes (type: 'time' | 'datetime').
min / max / disabledDates / firstDayOfWeek / showWeekNumbers / locale / displayFormat / openOnFieldClick / acceptCustomValueas OgeDateBox—Shared configuration surface.
adaptiveMode / adaptiveBreakpoint'auto' | 'none' / numberconfig: 'none' / 600'auto' presents the popup as a full-screen dialog showing one month, where picking both ends waits for an explicit Done that applies the range on viewports narrower than adaptiveBreakpoint px — a titled role="dialog" surface with a close button, scroll lock, inert background, a Tab trap, focus restore, safe-area insets and 16px / 44px touch sizing; Escape, a backdrop tap or a swipe down the handle dismiss it. 'none' keeps the anchored drop-down. App-wide defaults come from provideOgeInputsConfig().

Common — field chrome (all editors)

Name Type DefaultDescription
labelstring''Field label; placement follows labelMode.
labelModeOgeInputLabelMode'static'Label placement: static / floating / hidden (aria-only) / outside.
stylingModeOgeInputStylingMode'outlined'Container fill style.
sizeOgeInputSize'md'Container height preset — 28/34/42px, the button scale.
placeholderstring''Native placeholder text.
hintstring | undefined—Helper text in the subscript region (hidden while an error shows).
tooltipstring | undefined—Native title attribute of the input element.
subscriptSizingOgeInputSubscriptSizing'fixed'Whether the hint/error line reserves height, collapses, or is removed.
fluidbooleanfalseStretches the field to 100% width (default 240px via --oge-input-width).
widthnumber | string | undefined—This field’s width — a number is px, a string any CSS length. Sets --oge-input-width on this host only; fluid still wins.
showClearButtonbooleanfalseRenders the clear (✕) button while the field has a value.
showSuccessIconOgeInputShowSuccessIconfalseSuccess icon when valid: false / on touch / always.
idstring | undefined—Base for the generated element ids (input/label/hint/error/counter).
tabIndexnumber0Tab order of the native input.
autofocusbooleanfalseFocuses the editor after its first render.
selectOnFocusbooleanfalseSelects the whole text when the input receives focus.
inputAttrRecord<string, string>{}Escape hatch: extra attributes rendered onto the native input (template-owned attributes are ignored).
messagesPartial<OgeInputsMessages> | undefined—Per-instance overrides of user-facing strings.

Common — state & forms (all editors)

Name Type DefaultDescription
disabledbooleanfalseDisables the editor.
readonlybooleanfalseFocusable but not editable. (Contract name — not readOnly.)
requiredbooleanfalseMarks the field required (label asterisk + validation).
namestring''Native name attribute.
invalidbooleanfalseExternal invalid override — combined with forms state.
pendingbooleanfalseAsync-validation indicator; a spinner shows in the rail while true.
touchedbooleanfalseExternal touched override (Signal Forms contract).
dirtybooleanfalseExternal dirty override (Signal Forms contract).
errorsreadonly OgeFieldError[][]Signal Forms validation errors (auto-bound by [formField]).
errorTextstring | undefined—Explicit error message — always wins over resolved messages.
errorDisplayOgeInputErrorDisplay'touched'When resolved errors become visible.
debouncenumber | undefined—Commit delay in ms for value/forms updates; blur and Enter flush immediately.

Methods 5

OgeDateBox methods

Name Type Description
open() / close() / toggle()voidPicker control (no-ops while disabled/readonly).

Common (all editors)

Name Type Description
focus(): voidvoidMoves keyboard focus to the native input.
blur(): voidvoidBlurs the native input.
clear(): voidvoidClears the value (commits immediately), keeps focus in the field; no-op when disabled/readonly.
reset(value?: T): voidvoidReturns the field to pristine: sets value (default: empty), clears touched/dirty/parse errors, cancels pending commits. On a reactive-forms-bound editor resets the control itself.

Events 9

OgeDateBox events

Name Type Description
dropDownOpened / dropDownClosedvoidPicker visibility changes, from any trigger.

Common (all editors)

Name Type Description
valueCommittedOgeInputValueCommittedEvent<T>Every committed change with previousValue + originating DOM event (undefined for programmatic writes) — the reference onValueChanged shape.
inputChangeOgeInputRawEventRaw text on every keystroke, regardless of commit policy.
clearedvoidValue cleared via the clear button / clear().
enterKeyOgeInputKeyEventEnter pressed inside the editor (pending debounce is flushed first).
focusedOgeInputFocusEventThe editor received focus.
blurredOgeInputFocusEventThe editor lost focus.
touchvoidSignal Forms FormValueControl contract — emitted once per blur.
valueChangeTImplicit output of the value model.

Types 6

Date types

Name Type Description
parseDateText(text, locale, kind, reference?)functionExported: locale-aware text → local Date | null via Intl part order — never Date.parse.
OgeDateBoxType / OgeDateBoxApplyValueMode / OgeDateBoxDisplayFormat / OgeDateBoxTimeViewtypesThe string unions and the display-format shape.
OgeDateRangeBoxType'date' | 'time' | 'datetime'What the date range box edits.
OgeDateRangePreset{ label?: string; id?: string; range: () => [Date | null, Date | null] }One preset entry. label wins; built-ins carry an id whose message supplies the label.
ogeDateRangePresetsobject of factoriesBuilt-in presets, each (options?: { label?, now? }) => OgeDateRangePreset covering whole local days; thisWeek/lastWeek also take firstDayOfWeek / locale. now overrides the clock (tests, "as of" pages).
OgeDateRangePresetId / OgeDateRangePresetOptions / OgeDateRangeWeekPresetOptionstypesThe built-in ids and the factory option shapes.

OgeColorBox

oge-color-box

Properties 46

OgeColorBox

Name Type DefaultDescription
dropdownPlacementOgePopupPlacement'bottom-start'Preferred popup side/alignment; flips when it would clip.
adaptiveMode / adaptiveBreakpoint'auto' | 'none' / numberconfig: 'none' / 600'auto' presents the popup as a full-width bottom sheet on viewports narrower than adaptiveBreakpoint px — a titled role="dialog" surface with a close button, scroll lock, inert background, a Tab trap, focus restore, safe-area insets and 16px / 44px touch sizing; Escape, a backdrop tap or a swipe down the handle dismiss it. 'none' keeps the anchored drop-down. App-wide defaults come from provideOgeInputsConfig().
showDropDownButtonbooleantrueRenders the rail button that toggles the picker; the field click and the keyboard still open it when hidden.
valuemodel<string | null>nullThe committed color as a CSS string, normalized to format on user commits. Programmatic writes keep any parseable CSS color verbatim (never reformatted); unparseable writes land as null.
format'hex' | 'rgb' | 'rgba' | 'hsl''hex'Committed string shape (hex — the DevExtreme default; Kendo defaults to rgba). Translucent colors widen to carry alpha: #rrggbbaa / rgba() / hsla().
view'gradient' | 'palette' | 'both''gradient'Popup surfaces: the saturation/brightness gradient with sliders and inputs, the swatch palette, or both stacked — no view switcher (Kendo's activeView is deliberately skipped).
editAlphaChannelbooleanfalseAdds the alpha slider + percent input and lets the output carry alpha. Without it, alpha is coerced to 1 on commit — rgba() text still parses.
applyValueMode'instantly' | 'useButtons''instantly'OK/Cancel footer collects panel interactions in a draft when useButtons; the default commits live (dragging streams through valueCommitted, throttled by debounce).
acceptCustomValuebooleantruefalse makes the text read-only (picker input only). Typed text parses any CSS color incl. the 148 named colors; unparseable text reverts on blur.
keyStepnumber5Arrow-key increment of the panel parts in value units — hue degrees, alpha percent, surface saturation/brightness percent. PageUp/PageDown move by 5× (value-space, not Kendo’s pixel steps — zoom-independent).
palettereadonly string[] | undefined—Palette swatches as CSS color strings; undefined renders the exported OGE_DEFAULT_COLOR_PALETTE. Unparseable entries are dropped.
paletteColumnsnumber10Swatch columns of the palette grid.
openOnFieldClickbooleantrueClicking the field opens the picker.
showDropDownButtonbooleantruefalse hides the rail chevron — field click and ArrowDown still open.
showEyedropperbooleantrueThe eyedropper button (pick a color from anywhere on screen) — rendered only in browsers shipping the EyeDropper API; progressive enhancement, no polyfill. The picked color keeps the working alpha.
openedmodel<boolean>falsePicker visibility — two-way.

Common — field chrome (all editors)

Name Type DefaultDescription
labelstring''Field label; placement follows labelMode.
labelModeOgeInputLabelMode'static'Label placement: static / floating / hidden (aria-only) / outside.
stylingModeOgeInputStylingMode'outlined'Container fill style.
sizeOgeInputSize'md'Container height preset — 28/34/42px, the button scale.
placeholderstring''Native placeholder text.
hintstring | undefined—Helper text in the subscript region (hidden while an error shows).
tooltipstring | undefined—Native title attribute of the input element.
subscriptSizingOgeInputSubscriptSizing'fixed'Whether the hint/error line reserves height, collapses, or is removed.
fluidbooleanfalseStretches the field to 100% width (default 240px via --oge-input-width).
widthnumber | string | undefined—This field’s width — a number is px, a string any CSS length. Sets --oge-input-width on this host only; fluid still wins.
showClearButtonbooleanfalseRenders the clear (✕) button while the field has a value.
showSuccessIconOgeInputShowSuccessIconfalseSuccess icon when valid: false / on touch / always.
idstring | undefined—Base for the generated element ids (input/label/hint/error/counter).
tabIndexnumber0Tab order of the native input.
autofocusbooleanfalseFocuses the editor after its first render.
selectOnFocusbooleanfalseSelects the whole text when the input receives focus.
inputAttrRecord<string, string>{}Escape hatch: extra attributes rendered onto the native input (template-owned attributes are ignored).
messagesPartial<OgeInputsMessages> | undefined—Per-instance overrides of user-facing strings.

Common — state & forms (all editors)

Name Type DefaultDescription
disabledbooleanfalseDisables the editor.
readonlybooleanfalseFocusable but not editable. (Contract name — not readOnly.)
requiredbooleanfalseMarks the field required (label asterisk + validation).
namestring''Native name attribute.
invalidbooleanfalseExternal invalid override — combined with forms state.
pendingbooleanfalseAsync-validation indicator; a spinner shows in the rail while true.
touchedbooleanfalseExternal touched override (Signal Forms contract).
dirtybooleanfalseExternal dirty override (Signal Forms contract).
errorsreadonly OgeFieldError[][]Signal Forms validation errors (auto-bound by [formField]).
errorTextstring | undefined—Explicit error message — always wins over resolved messages.
errorDisplayOgeInputErrorDisplay'touched'When resolved errors become visible.
debouncenumber | undefined—Commit delay in ms for value/forms updates; blur and Enter flush immediately.

Methods 5

OgeColorBox methods

Name Type Description
open() / close() / toggle()voidPicker control (no-ops while disabled/readonly).

Common (all editors)

Name Type Description
focus(): voidvoidMoves keyboard focus to the native input.
blur(): voidvoidBlurs the native input.
clear(): voidvoidClears the value (commits immediately), keeps focus in the field; no-op when disabled/readonly.
reset(value?: T): voidvoidReturns the field to pristine: sets value (default: empty), clears touched/dirty/parse errors, cancels pending commits. On a reactive-forms-bound editor resets the control itself.

Events 9

OgeColorBox events

Name Type Description
dropDownOpened / dropDownClosedvoidPicker visibility changes, from any trigger.

Common (all editors)

Name Type Description
valueCommittedOgeInputValueCommittedEvent<T>Every committed change with previousValue + originating DOM event (undefined for programmatic writes) — the reference onValueChanged shape.
inputChangeOgeInputRawEventRaw text on every keystroke, regardless of commit policy.
clearedvoidValue cleared via the clear button / clear().
enterKeyOgeInputKeyEventEnter pressed inside the editor (pending debounce is flushed first).
focusedOgeInputFocusEventThe editor received focus.
blurredOgeInputFocusEventThe editor lost focus.
touchvoidSignal Forms FormValueControl contract — emitted once per blur.
valueChangeTImplicit output of the value model.

Types 4

Color types

Name Type Description
OgeColorBoxView / OgeColorBoxApplyValueModetypesThe string unions of view and applyValueMode.
OGE_DEFAULT_COLOR_PALETTEreadonly string[]The built-in 50-swatch palette used when palette is not set.
Color messagesOgeInputsMessages keysAll popup strings localize through the family config: colorPickerLabel, hueSliderLabel/hueValueText, alphaSliderLabel/alphaValueText, colorSurfaceLabel/colorSurfaceRoleDescription/surfaceValueText, paletteLabel, the hex/R/G/B/A input labels, eyedropperButton and invalidColorError.
parseColor / formatColor / normalizeColor / rgbaToHsva / hsvaToRgba / relativeLuminance / contrastForeground / colorsEqual@oge-ui/coreThe DOM-free color kernel (OgeRgba / OgeHsva / OgeColorFormat): CSS color-text parsing, HSV↔RGB conversion, canonical formatting and the WCAG swatch-contrast decision — unit-tested without a DOM, the slider-math precedent.

OgeColorGradient

oge-color-gradient

Properties 20

OgeColorGradient

Name Type DefaultDescription
valuemodel<string | null>nullThe committed color as a CSS string, normalized to format on commit; parseable programmatic values are kept verbatim — two-way.
labelstring''Accessible name of the role="group"; falls back to the colorGradientLabel message.
formatOgeColorFormat'hex'Committed string shape (hex / rgb / rgba / hsl); translucent colors widen to carry alpha.
editAlphaChannelbooleanfalseRenders the alpha slider and the alpha-percent input, and commits alpha-carrying strings.
keyStepnumber5Arrow-key increment of the surface and sliders (degrees / percent); PageUp/PageDown move 5×.
showInputsbooleantrueRenders the hex + R/G/B(/A) inputs. They commit on change (blur / Enter); unusable text is reverted, never applied.
showContrastbooleanfalseRenders the WCAG contrast readout — a sample, the ratio and AA / AAA pass-fail badges (Kendo’s contrastTool).
contrastBackgroundstring'#ffffff'The background (any CSS color) the contrast ratio is measured against — set it to the surface the color will sit on.

Common — state & forms (all editors)

Name Type DefaultDescription
disabledbooleanfalseDisables the editor.
readonlybooleanfalseFocusable but not editable. (Contract name — not readOnly.)
requiredbooleanfalseMarks the field required (label asterisk + validation).
namestring''Native name attribute.
invalidbooleanfalseExternal invalid override — combined with forms state.
pendingbooleanfalseAsync-validation indicator; a spinner shows in the rail while true.
touchedbooleanfalseExternal touched override (Signal Forms contract).
dirtybooleanfalseExternal dirty override (Signal Forms contract).
errorsreadonly OgeFieldError[][]Signal Forms validation errors (auto-bound by [formField]).
errorTextstring | undefined—Explicit error message — always wins over resolved messages.
errorDisplayOgeInputErrorDisplay'touched'When resolved errors become visible.
debouncenumber | undefined—Commit delay in ms for value/forms updates; blur and Enter flush immediately.

Methods 4

Common (all editors)

Name Type Description
focus(): voidvoidMoves keyboard focus to the native input.
blur(): voidvoidBlurs the native input.
clear(): voidvoidClears the value (commits immediately), keeps focus in the field; no-op when disabled/readonly.
reset(value?: T): voidvoidReturns the field to pristine: sets value (default: empty), clears touched/dirty/parse errors, cancels pending commits. On a reactive-forms-bound editor resets the control itself.

Events 8

Common (all editors)

Name Type Description
valueCommittedOgeInputValueCommittedEvent<T>Every committed change with previousValue + originating DOM event (undefined for programmatic writes) — the reference onValueChanged shape.
inputChangeOgeInputRawEventRaw text on every keystroke, regardless of commit policy.
clearedvoidValue cleared via the clear button / clear().
enterKeyOgeInputKeyEventEnter pressed inside the editor (pending debounce is flushed first).
focusedOgeInputFocusEventThe editor received focus.
blurredOgeInputFocusEventThe editor lost focus.
touchvoidSignal Forms FormValueControl contract — emitted once per blur.
valueChangeTImplicit output of the value model.

Types 4

Contrast & palette helpers

Name Type Description
contrastRatio(foreground: OgeRgba, background: OgeRgba) => numberWCAG 2.x contrast ratio (1–21). A translucent foreground is composited over the background first, so the ratio describes the rendered pair. Re-exported from @oge-ui/behavior.
contrastLevels(ratio: number) => OgeContrastLevelsClassifies a ratio against AA (4.5), AA large (3), AAA (7) and AAA large (4.5). The comparison runs on the unrounded ratio; the displayed ratio is truncated, never rounded up into a pass.
OgeContrastLevels{ ratio; aa; aaLarge; aaa; aaaLarge }Result of contrastLevels.

Color gradient messages

Name Type Description
colorGradientLabel / contrastLabel / contrastRatioText / contrastPass / contrastFailOgeInputsMessages keysThe gradient’s own strings ({ratio} / {level} placeholders); the surface, slider and channel-input labels are the color box’s keys.

OgeColorPalette

oge-color-palette

Properties 17

OgeColorPalette

Name Type DefaultDescription
valuemodel<string | null>nullThe picked swatch string as listed in the palette — two-way.
paletteOgeColorPalettePreset | readonly string[]'default'A preset ('default' | 'basic' | 'office' | 'material' | 'monochrome') or your own CSS color list; unparseable entries are dropped.
columnsnumber | undefined—Tiles per row; undefined uses the preset’s own count (10 for a custom list).
tileSizenumber | undefined—Tile edge in px; undefined lets the tiles share the available width.
labelstring''Accessible name of the grid; falls back to the paletteLabel message.

Common — state & forms (all editors)

Name Type DefaultDescription
disabledbooleanfalseDisables the editor.
readonlybooleanfalseFocusable but not editable. (Contract name — not readOnly.)
requiredbooleanfalseMarks the field required (label asterisk + validation).
namestring''Native name attribute.
invalidbooleanfalseExternal invalid override — combined with forms state.
pendingbooleanfalseAsync-validation indicator; a spinner shows in the rail while true.
touchedbooleanfalseExternal touched override (Signal Forms contract).
dirtybooleanfalseExternal dirty override (Signal Forms contract).
errorsreadonly OgeFieldError[][]Signal Forms validation errors (auto-bound by [formField]).
errorTextstring | undefined—Explicit error message — always wins over resolved messages.
errorDisplayOgeInputErrorDisplay'touched'When resolved errors become visible.
debouncenumber | undefined—Commit delay in ms for value/forms updates; blur and Enter flush immediately.

Methods 4

Common (all editors)

Name Type Description
focus(): voidvoidMoves keyboard focus to the native input.
blur(): voidvoidBlurs the native input.
clear(): voidvoidClears the value (commits immediately), keeps focus in the field; no-op when disabled/readonly.
reset(value?: T): voidvoidReturns the field to pristine: sets value (default: empty), clears touched/dirty/parse errors, cancels pending commits. On a reactive-forms-bound editor resets the control itself.

Events 8

Common (all editors)

Name Type Description
valueCommittedOgeInputValueCommittedEvent<T>Every committed change with previousValue + originating DOM event (undefined for programmatic writes) — the reference onValueChanged shape.
inputChangeOgeInputRawEventRaw text on every keystroke, regardless of commit policy.
clearedvoidValue cleared via the clear button / clear().
enterKeyOgeInputKeyEventEnter pressed inside the editor (pending debounce is flushed first).
focusedOgeInputFocusEventThe editor received focus.
blurredOgeInputFocusEventThe editor lost focus.
touchvoidSignal Forms FormValueControl contract — emitted once per blur.
valueChangeTImplicit output of the value model.

Types 4

Palette types

Name Type Description
OgeColorPalettePreset'default' | 'basic' | 'office' | 'material' | 'monochrome'The built-in swatch sets.
OGE_COLOR_PALETTE_PRESETSRecord<OgeColorPalettePreset, OgeColorPalettePresetData>The preset data — { colors, columns } each — for building your own picker around the same sets.
OgeColorPalettePresetData{ colors: readonly string[]; columns: number }One preset.
KeyboardAPG gridArrows move by tile / row (RTL-mirrored; no wrap, no row crossing), Home/End to the row edges, Ctrl+Home/Ctrl+End to the corners, Enter/Space picks. One roving tab stop — the selected tile, else the first.

OgeCheckBoxGroup

oge-check-box-group

Properties 22

OgeCheckBoxGroup

Name Type DefaultDescription
valuemodel<readonly unknown[]>[]The checked items’ valueExpr results, in items order (not click order); values no item produces are kept — two-way.
itemsreadonly TItem[][]One check box per item.
displayExpr / valueExpr / disabledExprshared with OgeSelectBox—Field-name string or function expressions. Disabled items keep their checked state — select all never changes them.
layoutOgeCheckBoxGroupLayout'vertical''vertical', 'horizontal' (wrapping row) or 'columns' (a columns-column grid).
columnsnumber2Column count of layout: 'columns'.
labelstring''Visible group label and the group’s accessible name (aria-labelledby); a required marker follows it.
hintstring | undefined—Helper text under the items (aria-describedby), hidden while an error shows.
showSelectAllbooleanfalseA tri-state “select all” box above the items — checked / mixed / unchecked over the enabled items; from mixed it selects all.
selectAllTextstring | undefined—Text of the select-all box; undefined = the selectAllText message.
itemTemplateTemplateRef<OgeCheckBoxGroupItemTemplateContext>—Custom label next to each glyph; context: $implicit, index, checked.

Common — state & forms (all editors)

Name Type DefaultDescription
disabledbooleanfalseDisables the editor.
readonlybooleanfalseFocusable but not editable. (Contract name — not readOnly.)
requiredbooleanfalseMarks the field required (label asterisk + validation).
namestring''Native name attribute.
invalidbooleanfalseExternal invalid override — combined with forms state.
pendingbooleanfalseAsync-validation indicator; a spinner shows in the rail while true.
touchedbooleanfalseExternal touched override (Signal Forms contract).
dirtybooleanfalseExternal dirty override (Signal Forms contract).
errorsreadonly OgeFieldError[][]Signal Forms validation errors (auto-bound by [formField]).
errorTextstring | undefined—Explicit error message — always wins over resolved messages.
errorDisplayOgeInputErrorDisplay'touched'When resolved errors become visible.
debouncenumber | undefined—Commit delay in ms for value/forms updates; blur and Enter flush immediately.

Methods 5

OgeCheckBoxGroup methods

Name Type Description
selectAll() / unselectAll()() => voidChecks / unchecks every enabled item (disabled items keep their state); commits immediately.

Common (all editors)

Name Type Description
focus(): voidvoidMoves keyboard focus to the native input.
blur(): voidvoidBlurs the native input.
clear(): voidvoidClears the value (commits immediately), keeps focus in the field; no-op when disabled/readonly.
reset(value?: T): voidvoidReturns the field to pristine: sets value (default: empty), clears touched/dirty/parse errors, cancels pending commits. On a reactive-forms-bound editor resets the control itself.

Events 10

OgeCheckBoxGroup events

Name Type Description
itemClickOgeCheckBoxGroupItemClickEventOne check box was toggled by the user — { item, index, checked, event }.
selectAllChangedOgeCheckBoxGroupSelectAllEventThe select-all box was toggled by the user — { checked, event }.

Common (all editors)

Name Type Description
valueCommittedOgeInputValueCommittedEvent<T>Every committed change with previousValue + originating DOM event (undefined for programmatic writes) — the reference onValueChanged shape.
inputChangeOgeInputRawEventRaw text on every keystroke, regardless of commit policy.
clearedvoidValue cleared via the clear button / clear().
enterKeyOgeInputKeyEventEnter pressed inside the editor (pending debounce is flushed first).
focusedOgeInputFocusEventThe editor received focus.
blurredOgeInputFocusEventThe editor lost focus.
touchvoidSignal Forms FormValueControl contract — emitted once per blur.
valueChangeTImplicit output of the value model.

Types 4

Name Type Description
OgeCheckBoxGroupLayout'horizontal' | 'vertical' | 'columns'Arrangement of the boxes.
OgeCheckBoxGroupItemClickEvent / OgeCheckBoxGroupSelectAllEventinterfacesPayloads of itemClick / selectAllChanged.
OgeCheckBoxGroupItemTemplateContext{ $implicit; index; checked }Context of itemTemplate.
ValidationformsReactive Validators.required treats [] as empty. Signal Forms' required() does not — express “at least one” as minLength(p.field, 1, { message }).

OgeToggleGroup

oge-toggle-group

Properties 21

OgeToggleGroup

Name Type DefaultDescription
valuemodel<unknown>nullThe selected item's valueExpr result (single; null = none) or an array of them in items order (multiple) — two-way.
itemsreadonly TItem[][]The segments.
displayExpr / valueExpr / disabledExprshared with OgeSelectBox—Field-name string or function expressions.
selectionModeOgeToggleGroupSelectionMode'single''single' — the APG radio group (arrows move focus and selection; the selected segment cannot be pressed off). 'multiple' — aria-pressed toggle buttons (arrows move focus only).
labelstring''Visible caption and the accessible name of the segment track.
hideLabelbooleanfalseKeeps label as the accessible name only (aria-label), without the caption.
hintstring | undefined—Helper text under the segments, hidden while an error shows.
fluidbooleanfalseStretches the track to the container width; segments share it equally.
itemTemplateTemplateRef<OgeToggleGroupItemTemplateContext>—Custom segment content (icons, badges); context: $implicit, index, selected.

Common — state & forms (all editors)

Name Type DefaultDescription
disabledbooleanfalseDisables the editor.
readonlybooleanfalseFocusable but not editable. (Contract name — not readOnly.)
requiredbooleanfalseMarks the field required (label asterisk + validation).
namestring''Native name attribute.
invalidbooleanfalseExternal invalid override — combined with forms state.
pendingbooleanfalseAsync-validation indicator; a spinner shows in the rail while true.
touchedbooleanfalseExternal touched override (Signal Forms contract).
dirtybooleanfalseExternal dirty override (Signal Forms contract).
errorsreadonly OgeFieldError[][]Signal Forms validation errors (auto-bound by [formField]).
errorTextstring | undefined—Explicit error message — always wins over resolved messages.
errorDisplayOgeInputErrorDisplay'touched'When resolved errors become visible.
debouncenumber | undefined—Commit delay in ms for value/forms updates; blur and Enter flush immediately.

Methods 4

Common (all editors)

Name Type Description
focus(): voidvoidMoves keyboard focus to the native input.
blur(): voidvoidBlurs the native input.
clear(): voidvoidClears the value (commits immediately), keeps focus in the field; no-op when disabled/readonly.
reset(value?: T): voidvoidReturns the field to pristine: sets value (default: empty), clears touched/dirty/parse errors, cancels pending commits. On a reactive-forms-bound editor resets the control itself.

Events 10

OgeToggleGroup events

Name Type Description
itemClickOgeToggleGroupItemClickEventA segment was pressed by click or keyboard, before any value change — { item, index, event }.
selectionChangedOgeToggleGroupSelectionChangedEventThe value changed through user interaction — { value, addedValues, removedValues }.

Common (all editors)

Name Type Description
valueCommittedOgeInputValueCommittedEvent<T>Every committed change with previousValue + originating DOM event (undefined for programmatic writes) — the reference onValueChanged shape.
inputChangeOgeInputRawEventRaw text on every keystroke, regardless of commit policy.
clearedvoidValue cleared via the clear button / clear().
enterKeyOgeInputKeyEventEnter pressed inside the editor (pending debounce is flushed first).
focusedOgeInputFocusEventThe editor received focus.
blurredOgeInputFocusEventThe editor lost focus.
touchvoidSignal Forms FormValueControl contract — emitted once per blur.
valueChangeTImplicit output of the value model.

Types 4

Name Type Description
OgeToggleGroupSelectionMode'single' | 'multiple'One value or many.
OgeToggleGroupItemClickEvent / OgeToggleGroupSelectionChangedEventinterfacesPayloads of itemClick / selectionChanged.
OgeToggleGroupItemTemplateContext{ $implicit; index; selected }Context of itemTemplate.
vs. OgeButtonGroupchoiceoge-button-group is an action / segmented control with selectedKeys; oge-toggle-group is the form editor — label, hint, validation, Signal Forms and reactive forms, scalar single value. Both run the same @oge-ui/behavior selection and arrow-key functions.

OgeRating

oge-rating

Properties 24

OgeRating

Name Type DefaultDescription
valuemodel<number | null>nullThe rating — two-way; null means not rated. Snapped to precision inside 0…max.
maxnumber | undefined5Number of items (stars); undefined means 5. A Signal Forms schema max() writes it through [formField].
precisionnumber1Value step: 1 whole items, 0.5 halves, 0.1 tenths (at least 0.01). A pointer press rounds up to the next step inside the item.
allowClearbooleantrueA press on the current value — or Delete / Backspace / 0 — clears it; also lowers aria-valuemin to 0.
iconOgeRatingIcon'star'The built-in glyph: 'star' | 'heart' | 'circle'. An item template replaces it.
selectionOgeRatingSelection'continuous''continuous' paints every item up to the value; 'single' only the item holding it (a pick-one scale).
semanticsOgeRatingSemantics'slider''slider' — one APG slider, any precision; 'radiogroup' — one radio per item with a roving tab stop (whole-item precision only, otherwise the slider).
hoverPreviewbooleantruePaints the value under a mouse pointer before it is pressed.
labelstring''Accessible name; empty falls back to the ratingLabel message.
localestring | undefined—Locale of the spoken value (aria-valuetext); falls back to the config locale, then LOCALE_ID.
itemTemplateTemplateRef<OgeRatingItemTemplateContext> | undefined—Custom glyph per item — the input form of the [ogeRatingItemTemplate] slot.
size'sm' | 'md' | 'lg''md'Item size preset — 18 / 24 / 32px.

Common — state & forms (all editors)

Name Type DefaultDescription
disabledbooleanfalseDisables the editor.
readonlybooleanfalseFocusable but not editable. (Contract name — not readOnly.)
requiredbooleanfalseMarks the field required (label asterisk + validation).
namestring''Native name attribute.
invalidbooleanfalseExternal invalid override — combined with forms state.
pendingbooleanfalseAsync-validation indicator; a spinner shows in the rail while true.
touchedbooleanfalseExternal touched override (Signal Forms contract).
dirtybooleanfalseExternal dirty override (Signal Forms contract).
errorsreadonly OgeFieldError[][]Signal Forms validation errors (auto-bound by [formField]).
errorTextstring | undefined—Explicit error message — always wins over resolved messages.
errorDisplayOgeInputErrorDisplay'touched'When resolved errors become visible.
debouncenumber | undefined—Commit delay in ms for value/forms updates; blur and Enter flush immediately.

Methods 4

Common (all editors)

Name Type Description
focus(): voidvoidMoves keyboard focus to the native input.
blur(): voidvoidBlurs the native input.
clear(): voidvoidClears the value (commits immediately), keeps focus in the field; no-op when disabled/readonly.
reset(value?: T): voidvoidReturns the field to pristine: sets value (default: empty), clears touched/dirty/parse errors, cancels pending commits. On a reactive-forms-bound editor resets the control itself.

Events 9

OgeRating events

Name Type Description
hoverChangedOgeRatingHoverEventThe pointer previews another value — { value, event }, value: null once it leaves.

Common (all editors)

Name Type Description
valueCommittedOgeInputValueCommittedEvent<T>Every committed change with previousValue + originating DOM event (undefined for programmatic writes) — the reference onValueChanged shape.
inputChangeOgeInputRawEventRaw text on every keystroke, regardless of commit policy.
clearedvoidValue cleared via the clear button / clear().
enterKeyOgeInputKeyEventEnter pressed inside the editor (pending debounce is flushed first).
focusedOgeInputFocusEventThe editor received focus.
blurredOgeInputFocusEventThe editor lost focus.
touchvoidSignal Forms FormValueControl contract — emitted once per blur.
valueChangeTImplicit output of the value model.

Types 9

Rating types

Name Type Description
OgeRatingItemTemplatedirective<ng-template ogeRatingItemTemplate let-item let-filled="filled"> — rendered for the empty and the filled (clipped) layer of every item, so fractional fills work with any markup.
OgeRatingItemTemplateContext{ $implicit: OgeRatingItemState; filled: boolean; hovered: boolean }Context of the item template.
OgeRatingItemState{ index; itemValue; fill; full; partial }One item: zero-based index, the itemValue a full press commits, the filled share fill (0…1).
OgeRatingIcon'star' | 'heart' | 'circle'The built-in glyphs.
OgeRatingSelection'continuous' | 'single'How the value is painted.
OgeRatingSemantics'slider' | 'radiogroup'The ARIA pattern rendered.
OgeRatingHoverEvent{ value: number | null; event: Event }Payload of hoverChanged.
KeyboardAPG slider / radio groupSlider: ArrowRight/ArrowUp step up by precision, ArrowLeft/ArrowDown down (horizontal arrows mirror in RTL), PageUp/PageDown by one item, Home/End, digits 1–9 jump, Delete/Backspace/0 clear. Radio group: arrows move and select with wrapping, Home/End, Space.
MessagesOgeInputsMessagesratingLabel, ratingValueText ({value} / {max}, or an ICU plural) and ratingNoValueText.

OgeOtpInput

oge-otp-input

Properties 24

OgeOtpInput

Name Type DefaultDescription
valuemodel<string>''The characters entered — always a contiguous prefix, so value.length === length means complete. Two-way.
lengthnumber6Number of cells (1–12).
typeOgeOtpInputType'numeric'Accepted characters: 'numeric' (script and full-width digits fold to ASCII), 'alphanumeric' or 'alphabetic'. Rejected characters never land.
letterCaseOgeOtpInputCase'none''upper' / 'lower' applied to typed and pasted letters.
maskedbooleanfalseHides the characters like a password field (PINs).
groupSizenumber0Draws separator after every groupSize cells (3 → 123–456); 0 = none.
separatorstring'–'Separator glyph between groups — decorative, hidden from assistive technology.
placeholderstring''Placeholder character shown in empty cells.
labelstring''Visible group label and the group’s accessible name; empty falls back to the otpLabel message.
hintstring | undefined—Helper text under the cells (hidden while an error shows).
localestring | undefined—Locale of the cell names’ digits; falls back to the config locale, then LOCALE_ID.
size'sm' | 'md' | 'lg''md'Cell size preset.

Common — state & forms (all editors)

Name Type DefaultDescription
disabledbooleanfalseDisables the editor.
readonlybooleanfalseFocusable but not editable. (Contract name — not readOnly.)
requiredbooleanfalseMarks the field required (label asterisk + validation).
namestring''Native name attribute.
invalidbooleanfalseExternal invalid override — combined with forms state.
pendingbooleanfalseAsync-validation indicator; a spinner shows in the rail while true.
touchedbooleanfalseExternal touched override (Signal Forms contract).
dirtybooleanfalseExternal dirty override (Signal Forms contract).
errorsreadonly OgeFieldError[][]Signal Forms validation errors (auto-bound by [formField]).
errorTextstring | undefined—Explicit error message — always wins over resolved messages.
errorDisplayOgeInputErrorDisplay'touched'When resolved errors become visible.
debouncenumber | undefined—Commit delay in ms for value/forms updates; blur and Enter flush immediately.

Methods 4

Common (all editors)

Name Type Description
focus(): voidvoidMoves keyboard focus to the native input.
blur(): voidvoidBlurs the native input.
clear(): voidvoidClears the value (commits immediately), keeps focus in the field; no-op when disabled/readonly.
reset(value?: T): voidvoidReturns the field to pristine: sets value (default: empty), clears touched/dirty/parse errors, cancels pending commits. On a reactive-forms-bound editor resets the control itself.

Events 9

OgeOtpInput events

Name Type Description
completedOgeOtpCompletedEventEvery cell got filled — by typing, a paste or the SMS autofill: { value, event }.

Common (all editors)

Name Type Description
valueCommittedOgeInputValueCommittedEvent<T>Every committed change with previousValue + originating DOM event (undefined for programmatic writes) — the reference onValueChanged shape.
inputChangeOgeInputRawEventRaw text on every keystroke, regardless of commit policy.
clearedvoidValue cleared via the clear button / clear().
enterKeyOgeInputKeyEventEnter pressed inside the editor (pending debounce is flushed first).
focusedOgeInputFocusEventThe editor received focus.
blurredOgeInputFocusEventThe editor lost focus.
touchvoidSignal Forms FormValueControl contract — emitted once per blur.
valueChangeTImplicit output of the value model.

Types 6

OTP input types

Name Type Description
OgeOtpInputType'numeric' | 'alphanumeric' | 'alphabetic'Which characters a cell accepts.
OgeOtpInputCase'none' | 'upper' | 'lower'Letter case applied to accepted letters.
OgeOtpCompletedEvent{ value: string; event: Event | undefined }Payload of completed.
Keyboardone Tab stopOnly the caret cell is tabbable. Typing fills and advances, Backspace clears and steps back, Delete closes the gap, ArrowLeft/ArrowRight (RTL-mirrored) and Home/End move; a cell past the first empty one hands the focus back to it.
Autofillautocomplete="one-time-code"On the first cell, so iOS/Android SMS suggestions fill the whole code; a paste of a whole code always fills from the first cell.
MessagesOgeInputsMessagesotpLabel (group name without a label) and otpCellLabel ({index} / {length}).

OgeListBox

oge-list-box

Properties 30

OgeListBox

Name Type DefaultDescription
valuemodel<unknown>nullThe selection — one valueExpr result (or null) in single mode, an items-ordered array in multiple mode. Two-way.
itemsreadonly TItem[][]The options.
displayExpr / valueExpr / disabledExprshared with OgeSelectBox—Field-name string or function expressions; disabled options are skipped by the keyboard and keep their state.
groupByOgeSelectGroupExpr<TItem> | undefined—Groups the options under headers (first-seen group order); each group is a role="group" labelled by its header.
selectionModeOgeListBoxSelectionMode'single''single' (selection follows focus) or 'multiple' (aria-multiselectable).
showCheckBoxesbooleanfalseA check glyph on every option (multiple mode only).
searchEnabledbooleanfalseA search field above the list that filters the options.
searchExpr / searchModeOgeSelectSearchExpr<TItem> / 'contains' | 'startswith'— / 'contains'Which text the search matches (default: the display text) and how.
searchPlaceholderstring | undefined—Placeholder of the search field; undefined = the listBoxSearchPlaceholder message.
heightnumber | string | undefined—Maximum list height — a px number or any CSS length; the list scrolls past it (default 280px).
noDataTextstring | undefined—Text while there are no (matching) options; undefined = the noDataText message.
labelstring''Visible label above the list and its accessible name; without one the list is named by the listBoxLabel message.
labelledBystring | undefined—Id of an external element naming the list (overrides label) — what the transfer list uses for its titles.
hintstring | undefined—Helper text under the list, hidden while an error shows.
keyShortcutsstring | undefined—Shortcuts a host handles on the list, advertised as aria-keyshortcuts.
allowReorderingbooleanfalseLets the user reorder the options: Alt+↑/↓ moves the active option, a pointer drag (touch: after a long press) drops it before / after another. The list shows the new order at once and announces it; persist the reordered payload's items — a new items array resets the order. Moves stay inside a group, pass rows a search hides, and never move a disabled option.
itemTemplateTemplateRef<OgeListBoxItemTemplateContext<TItem>> | undefined—Option content as a TemplateRef; wins over a projected [ogeListBoxItemTemplate]. The option keeps its role, state and check glyph.
groupTemplateTemplateRef<OgeListBoxGroupTemplateContext> | undefined—Group header content; wins over a projected [ogeListBoxGroupTemplate].

Common — state & forms (all editors)

Name Type DefaultDescription
disabledbooleanfalseDisables the editor.
readonlybooleanfalseFocusable but not editable. (Contract name — not readOnly.)
requiredbooleanfalseMarks the field required (label asterisk + validation).
namestring''Native name attribute.
invalidbooleanfalseExternal invalid override — combined with forms state.
pendingbooleanfalseAsync-validation indicator; a spinner shows in the rail while true.
touchedbooleanfalseExternal touched override (Signal Forms contract).
dirtybooleanfalseExternal dirty override (Signal Forms contract).
errorsreadonly OgeFieldError[][]Signal Forms validation errors (auto-bound by [formField]).
errorTextstring | undefined—Explicit error message — always wins over resolved messages.
errorDisplayOgeInputErrorDisplay'touched'When resolved errors become visible.
debouncenumber | undefined—Commit delay in ms for value/forms updates; blur and Enter flush immediately.

Methods 9

OgeListBox methods

Name Type Description
selectAll() / unselectAll()voidSelects / deselects every enabled option (disabled options keep their state).
scrollToItem(item: TItem): voidvoidMakes the item the active option and scrolls it into view.
search(text: string): voidvoidSets the search text programmatically; '' clears the filter.
getVisibleItems() / getSelectedItems()readonly TItem[] / TItem[]The options currently shown (after the search) in display order / the selected items in items order.
reorderItem(item, target, position?, cause?): booleanbooleanMoves item before (default) / after target through the same cancelable path as the keys and the pointer; false when it cannot move or a reordering handler cancelled it. cause defaults to 'api' (the transfer list passes 'drag').

Common (all editors)

Name Type Description
focus(): voidvoidMoves keyboard focus to the native input.
blur(): voidvoidBlurs the native input.
clear(): voidvoidClears the value (commits immediately), keeps focus in the field; no-op when disabled/readonly.
reset(value?: T): voidvoidReturns the field to pristine: sets value (default: empty), clears touched/dirty/parse errors, cancels pending commits. On a reactive-forms-bound editor resets the control itself.

Events 12

OgeListBox events

Name Type Description
selectionChangedOgeListBoxSelectionChangedEvent<TItem>The selection changed — { value, previousValue, addedItems, removedItems, event }.
itemClickOgeListBoxItemClickEvent<TItem>An enabled option was clicked — { item, index, event } (fires in read-only mode too).
reorderingOgeListBoxReorderingEvent<TItem>Cancelable pre-event of every reorder — { item, fromIndex, toIndex, cause, event, cancel }; indices into the whole items array.
reorderedOgeListBoxReorderedEvent<TItem>An option moved — { item, fromIndex, toIndex, cause, items, event }, after the announcement (listBoxReorderedAnnouncement).

Common (all editors)

Name Type Description
valueCommittedOgeInputValueCommittedEvent<T>Every committed change with previousValue + originating DOM event (undefined for programmatic writes) — the reference onValueChanged shape.
inputChangeOgeInputRawEventRaw text on every keystroke, regardless of commit policy.
clearedvoidValue cleared via the clear button / clear().
enterKeyOgeInputKeyEventEnter pressed inside the editor (pending debounce is flushed first).
focusedOgeInputFocusEventThe editor received focus.
blurredOgeInputFocusEventThe editor lost focus.
touchvoidSignal Forms FormValueControl contract — emitted once per blur.
valueChangeTImplicit output of the value model.

Types 6

List box types

Name Type Description
OgeListBoxSelectionMode'single' | 'multiple'The selection model.
OgeListBoxItemTemplate[ogeListBoxItemTemplate]Structural directive for the option content; context OgeListBoxItemTemplateContext = { $implicit: item, index, selected, active, disabled }.
OgeListBoxGroupTemplate[ogeListBoxGroupTemplate]Structural directive for group headers; context OgeListBoxGroupTemplateContext = { $implicit: label, count }.
OgeListBoxSelectionChangedEvent / OgeListBoxItemClickEvent / OgeListBoxReorderingEvent / OgeListBoxReorderedEventevent payloadsSee the events table.
OgeListBoxReorderCause'keyboard' | 'drag' | 'api'What started a reorder.
KeyboardAPG listboxOne Tab stop (aria-activedescendant). ↑/↓, Home/End, PageUp/PageDown move the active option — in single mode the selection follows. Typing jumps by prefix (accent-insensitive; repeat a letter to cycle). Multiple: Space/Enter toggle, Shift+↑/↓ and Shift+Space extend from the anchor, Ctrl+Shift+Home/End select to an edge, Ctrl+A (⌘A) selects all — or none when all are selected. In the search field ↓ moves into the list.

OgeTransferList

oge-transfer-list

Properties 26

OgeTransferList

Name Type DefaultDescription
valuemodel<readonly unknown[]>[]The target side — the moved items’ valueExpr results in arrival order. Two-way.
itemsreadonly TItem[][]Every item; those not in value form the source list (items order).
displayExpr / valueExpr / disabledExprshared with OgeSelectBox—Field-name string or function expressions; disabled items cannot be selected or moved.
groupByOgeSelectGroupExpr<TItem> | undefined—Groups both lists’ options under headers.
sourceTitle / targetTitlestring | undefined—List titles (and accessible names); undefined = the transferSourceTitle / transferTargetTitle messages.
searchEnabledbooleanfalseA search field above each list. The buttons act on what a list shows: “move all” is enabled only while the filtered view holds a movable item, “move selected” only while a selected item is visible.
searchExpr / searchModeOgeSelectSearchExpr<TItem> / 'contains' | 'startswith'— / 'contains'Which text the search matches and how.
showCheckBoxesbooleanfalseCheck glyphs on the options of both lists.
heightnumber | string | undefined—Maximum height of each list — px number or CSS length.
noDataTextstring | undefined—Text of an empty list.
labelstring''Visible label above both lists; the role="group"’s accessible name.
hintstring | undefined—Helper text under the lists, hidden while an error shows.
itemTemplate / groupTemplateTemplateRef | undefined—Option / group header content for both lists; win over projected [ogeListBoxItemTemplate] / [ogeListBoxGroupTemplate].
allowReorderingOgeTransferListReorderSidesfalseLets the user reorder a list — true both, 'source' / 'target' only that one. Alt+↑/↓ moves the active option; one drag reorders when dropped inside its own list and moves when dropped on the other. The target's order is the value's order (a reorder commits it); a reordered source keeps its order until items changes.

Common — state & forms (all editors)

Name Type DefaultDescription
disabledbooleanfalseDisables the editor.
readonlybooleanfalseFocusable but not editable. (Contract name — not readOnly.)
requiredbooleanfalseMarks the field required (label asterisk + validation).
namestring''Native name attribute.
invalidbooleanfalseExternal invalid override — combined with forms state.
pendingbooleanfalseAsync-validation indicator; a spinner shows in the rail while true.
touchedbooleanfalseExternal touched override (Signal Forms contract).
dirtybooleanfalseExternal dirty override (Signal Forms contract).
errorsreadonly OgeFieldError[][]Signal Forms validation errors (auto-bound by [formField]).
errorTextstring | undefined—Explicit error message — always wins over resolved messages.
errorDisplayOgeInputErrorDisplay'touched'When resolved errors become visible.
debouncenumber | undefined—Commit delay in ms for value/forms updates; blur and Enter flush immediately.

Methods 6

OgeTransferList methods

Name Type Description
moveSelectedToTarget() / moveAllToTarget()voidMoves the source selection / every shown, enabled source item to the target list.
moveSelectedToSource() / moveAllToSource()voidMoves the target selection / every shown, enabled target item back to the source list.

Common (all editors)

Name Type Description
focus(): voidvoidMoves keyboard focus to the native input.
blur(): voidvoidBlurs the native input.
clear(): voidvoidClears the value (commits immediately), keeps focus in the field; no-op when disabled/readonly.
reset(value?: T): voidvoidReturns the field to pristine: sets value (default: empty), clears touched/dirty/parse errors, cancels pending commits. On a reactive-forms-bound editor resets the control itself.

Events 12

OgeTransferList events

Name Type Description
movingOgeTransferListMovingEvent<TItem>Cancelable pre-event of every move — { items, values, from, to, cause, cancel }; cause is 'button' | 'keyboard' | 'drag'.
movedOgeTransferListMovedEvent<TItem>Items changed sides — { items, values, from, to, cause, value }, after the commit and the live announcement.
reorderingOgeTransferListReorderingEvent<TItem>Cancelable pre-event of a reorder inside one list — { side, item, fromIndex, toIndex, cause, event, cancel }.
reorderedOgeTransferListReorderedEvent<TItem>An item moved inside one list — { side, item, fromIndex, toIndex, cause, items, value, event }; a target reorder has already committed the new value.

Common (all editors)

Name Type Description
valueCommittedOgeInputValueCommittedEvent<T>Every committed change with previousValue + originating DOM event (undefined for programmatic writes) — the reference onValueChanged shape.
inputChangeOgeInputRawEventRaw text on every keystroke, regardless of commit policy.
clearedvoidValue cleared via the clear button / clear().
enterKeyOgeInputKeyEventEnter pressed inside the editor (pending debounce is flushed first).
focusedOgeInputFocusEventThe editor received focus.
blurredOgeInputFocusEventThe editor lost focus.
touchvoidSignal Forms FormValueControl contract — emitted once per blur.
valueChangeTImplicit output of the value model.

Types 6

Transfer list types

Name Type Description
OgeTransferListSide'source' | 'target'One side of the transfer list.
OgeTransferListMoveCause'button' | 'keyboard' | 'drag'What triggered a move — all three run the same move path.
OgeTransferListReorderSidesboolean | 'source' | 'target'Which lists allowReordering opens.
Keyboardlistbox + shortcutsEvery list box key on each list, plus Ctrl/⌘+→ (from the source) / Ctrl/⌘+← (from the target) to move the selection toward the other list — with Shift, everything shown. Visual arrows, mirrored in RTL, advertised with aria-keyshortcuts.
Drag and dropbeginPointerDragDropDrag an option (or the selection it belongs to) onto the other list — mouse and pen at once, touch after a long press; Escape cancels. The drop runs the same move as the buttons.
AnnouncementsOgeLiveAnnouncerEvery move is announced politely through the shared live announcer (transferMovedAnnouncement, an ICU plural).

OgeSignaturePad

oge-signature-pad

Properties 24

OgeSignaturePad

Name Type DefaultDescription
valuemodel<string | null>nullThe signature as a data: URL in format — two-way. Writing a stored value back restores the pad’s own SVG export as strokes; any other image URL is shown (sanitized) until the next stroke replaces it.
labelstring''Accessible name of the pad; falls back to the signatureLabel message.
placeholderstring | undefined—Text on the empty pad; undefined = the signaturePlaceholder message (“Sign here”), an empty string hides it.
formatOgeSignatureFormat'png'Export format of value and of toDataUrl() without an argument.
modemodel<OgeSignatureMode>'draw'Draw with a pointer or type a name — two-way.
allowTypingbooleantrueShows the Draw / Type switch — the keyboard-accessible alternative (WCAG 2.1.1).
heightnumber160Surface height in px; the width follows the host (--oge-signature-pad-width, 420px).
strokeColorstring | undefined—Ink colour; undefined = the --oge-signature-ink token (forced colors repaint it).
backgroundColorstring | undefined—Background baked into the export; undefined = transparent.
minWidthnumber1Thinnest stroke width in px — reached at high pen speed.
maxWidthnumber3Thickest stroke width in px — reached when the pen moves slowly.
fontFamilystringscript stack + 'cursive'Font of a typed signature, on screen and in the export.

Common — state & forms (all editors)

Name Type DefaultDescription
disabledbooleanfalseDisables the editor.
readonlybooleanfalseFocusable but not editable. (Contract name — not readOnly.)
requiredbooleanfalseMarks the field required (label asterisk + validation).
namestring''Native name attribute.
invalidbooleanfalseExternal invalid override — combined with forms state.
pendingbooleanfalseAsync-validation indicator; a spinner shows in the rail while true.
touchedbooleanfalseExternal touched override (Signal Forms contract).
dirtybooleanfalseExternal dirty override (Signal Forms contract).
errorsreadonly OgeFieldError[][]Signal Forms validation errors (auto-bound by [formField]).
errorTextstring | undefined—Explicit error message — always wins over resolved messages.
errorDisplayOgeInputErrorDisplay'touched'When resolved errors become visible.
debouncenumber | undefined—Commit delay in ms for value/forms updates; blur and Enter flush immediately.

Methods 9

OgeSignaturePad methods

Name Type Description
undo(): voidvoidRemoves the last stroke and re-exports the value.
toDataUrl(format?): string | nullstring | nullThe signature as a data: URL (default: format); null when empty.
toSvg(): string | nullstring | nullThe signature as an SVG document string; null when empty.
setMode(mode): voidvoidSwitches between drawing and typing, re-exporting the value.
isEmpty(): booleanbooleanNo signature (value === null).

Common (all editors)

Name Type Description
focus(): voidvoidMoves keyboard focus to the native input.
blur(): voidvoidBlurs the native input.
clear(): voidvoidClears the value (commits immediately), keeps focus in the field; no-op when disabled/readonly.
reset(value?: T): voidvoidReturns the field to pristine: sets value (default: empty), clears touched/dirty/parse errors, cancels pending commits. On a reactive-forms-bound editor resets the control itself.

Events 10

OgeSignaturePad events

Name Type Description
strokeEndedOgeSignatureStrokeEventA stroke was completed (pen up) and committed.
modeChangeOgeSignatureModeImplicit output of the mode model.

Common (all editors)

Name Type Description
valueCommittedOgeInputValueCommittedEvent<T>Every committed change with previousValue + originating DOM event (undefined for programmatic writes) — the reference onValueChanged shape.
inputChangeOgeInputRawEventRaw text on every keystroke, regardless of commit policy.
clearedvoidValue cleared via the clear button / clear().
enterKeyOgeInputKeyEventEnter pressed inside the editor (pending debounce is flushed first).
focusedOgeInputFocusEventThe editor received focus.
blurredOgeInputFocusEventThe editor lost focus.
touchvoidSignal Forms FormValueControl contract — emitted once per blur.
valueChangeTImplicit output of the value model.

Types 6

Signature pad types

Name Type Description
OgeSignatureFormat'png' | 'svg'Export format. PNG renders through a canvas (falling back to SVG where no 2D context exists, e.g. SSR or jsdom); SVG is built without the DOM and embeds the strokes in a <metadata> element, so the value restores an editable pad.
OgeSignatureMode'draw' | 'type'Pointer drawing, or the keyboard-accessible typed signature (a labelled text field rendered in fontFamily).
OgeSignatureStroke{ points: readonly OgeSignaturePoint[] }One pen-down → pen-up trace.
OgeSignaturePoint{ x: number; y: number; t: number }A sample in surface-relative coordinates (0..1 on both axes) with its time in ms — why a resized pad redraws exactly.
OgeSignatureStrokeEvent{ stroke: OgeSignatureStroke; strokeCount: number; event: Event | undefined }Payload of the stroke-ended event.
Keyboardbuttons + text fieldDraw / Type is a pressed-state button pair; Undo (also Ctrl+Z anywhere in the pad) and Clear are real buttons; Escape mid-stroke cancels the stroke. The surface is role="img" named “label, signed / not signed”.

OgeMention

oge-mention

Properties 50

OgeMention

Name Type DefaultDescription
valuemodel<string>''The text, mentions included as plain-text tokens — two-way.
mentionsmodel<readonly OgeMentionToken<T>[]>[]The inserted mentions in text order — two-way, kept in step with every edit (a token edited away drops out).
triggersreadonly OgeMentionTrigger<T>[] | undefined—Several trigger characters with their own items and expressions; overrides the single-trigger shorthand below.
itemsOgeMentionItemsSource<T>[]Shorthand single trigger: its suggestions — a list or a function of the query.
triggerstring'@'Shorthand single trigger: its character.
displayExprOgeSelectBoxDisplayExpr<T> | undefined—Shorthand: item → display text, also the inserted token text.
valueExprOgeSelectBoxValueExpr<T> | undefined—Shorthand: item → the value reported in mentions (default: the item).
searchExprOgeSelectBoxSearchExpr<T> | undefined—Shorthand: which text the local filter matches (default: the display text).
searchModeOgeSelectBoxSearchMode'contains'Substring or prefix matching of local items.
minSearchLengthnumber0Characters required after the trigger before suggestions show.
maxSuggestionsnumber8Caps the suggestion list.
allowSpacesbooleanfalseLets a query run across spaces (@Ada Lo); line breaks always end it.
insertSpacebooleantrueAdds a space after the inserted token (unless one follows already).
searchTimeoutnumber | undefined—Debounce (ms) before a query function is called; undefined = the config searchTimeoutMs (250).
multilinebooleantrueA text area (true) or a single-line combobox field.
rowsnumber3Visible rows of the text area.
maxLengthnumber | undefined—Native maxlength.
spellcheckbooleantrueNative spellcheck.
dropdownMaxHeightnumber | undefined—Suggestion list height cap; undefined = the CSS default (320px).
itemTemplateTemplateRef<OgeMentionItemTemplateContext<T>> | undefined—Custom suggestion row; an [ogeMentionItemTemplate] child wins.

Common — field chrome (all editors)

Name Type DefaultDescription
labelstring''Field label; placement follows labelMode.
labelModeOgeInputLabelMode'static'Label placement: static / floating / hidden (aria-only) / outside.
stylingModeOgeInputStylingMode'outlined'Container fill style.
sizeOgeInputSize'md'Container height preset — 28/34/42px, the button scale.
placeholderstring''Native placeholder text.
hintstring | undefined—Helper text in the subscript region (hidden while an error shows).
tooltipstring | undefined—Native title attribute of the input element.
subscriptSizingOgeInputSubscriptSizing'fixed'Whether the hint/error line reserves height, collapses, or is removed.
fluidbooleanfalseStretches the field to 100% width (default 240px via --oge-input-width).
widthnumber | string | undefined—This field’s width — a number is px, a string any CSS length. Sets --oge-input-width on this host only; fluid still wins.
showClearButtonbooleanfalseRenders the clear (✕) button while the field has a value.
showSuccessIconOgeInputShowSuccessIconfalseSuccess icon when valid: false / on touch / always.
idstring | undefined—Base for the generated element ids (input/label/hint/error/counter).
tabIndexnumber0Tab order of the native input.
autofocusbooleanfalseFocuses the editor after its first render.
selectOnFocusbooleanfalseSelects the whole text when the input receives focus.
inputAttrRecord<string, string>{}Escape hatch: extra attributes rendered onto the native input (template-owned attributes are ignored).
messagesPartial<OgeInputsMessages> | undefined—Per-instance overrides of user-facing strings.

Common — state & forms (all editors)

Name Type DefaultDescription
disabledbooleanfalseDisables the editor.
readonlybooleanfalseFocusable but not editable. (Contract name — not readOnly.)
requiredbooleanfalseMarks the field required (label asterisk + validation).
namestring''Native name attribute.
invalidbooleanfalseExternal invalid override — combined with forms state.
pendingbooleanfalseAsync-validation indicator; a spinner shows in the rail while true.
touchedbooleanfalseExternal touched override (Signal Forms contract).
dirtybooleanfalseExternal dirty override (Signal Forms contract).
errorsreadonly OgeFieldError[][]Signal Forms validation errors (auto-bound by [formField]).
errorTextstring | undefined—Explicit error message — always wins over resolved messages.
errorDisplayOgeInputErrorDisplay'touched'When resolved errors become visible.
debouncenumber | undefined—Commit delay in ms for value/forms updates; blur and Enter flush immediately.

Methods 5

OgeMention methods

Name Type Description
close(): voidvoidCloses the suggestion list.

Common (all editors)

Name Type Description
focus(): voidvoidMoves keyboard focus to the native input.
blur(): voidvoidBlurs the native input.
clear(): voidvoidClears the value (commits immediately), keeps focus in the field; no-op when disabled/readonly.
reset(value?: T): voidvoidReturns the field to pristine: sets value (default: empty), clears touched/dirty/parse errors, cancels pending commits. On a reactive-forms-bound editor resets the control itself.

Events 11

OgeMention events

Name Type Description
mentionSelectedOgeMentionSelectedEvent<T>A suggestion was inserted.
mentionsChangereadonly OgeMentionToken<T>[]Implicit output of the mentions model — after an insert and after an edit that shifted or dropped a mention.
searchChangedOgeMentionSearchChangedEventThe query after a trigger changed — drive your own server-side suggestions from here.

Common (all editors)

Name Type Description
valueCommittedOgeInputValueCommittedEvent<T>Every committed change with previousValue + originating DOM event (undefined for programmatic writes) — the reference onValueChanged shape.
inputChangeOgeInputRawEventRaw text on every keystroke, regardless of commit policy.
clearedvoidValue cleared via the clear button / clear().
enterKeyOgeInputKeyEventEnter pressed inside the editor (pending debounce is flushed first).
focusedOgeInputFocusEventThe editor received focus.
blurredOgeInputFocusEventThe editor lost focus.
touchvoidSignal Forms FormValueControl contract — emitted once per blur.
valueChangeTImplicit output of the value model.

Types 8

Mention types

Name Type Description
OgeMentionTrigger<T>{ char: string; items: OgeMentionItemsSource<T>; displayExpr?; valueExpr?; searchExpr? }One trigger character and the items it suggests.
OgeMentionItemsSource<T>readonly T[] | ((query: string) => readonly T[] | PromiseLike<readonly T[]>)A list filtered locally by the query, or a function of the query (debounced by searchTimeout; stale answers are dropped) returning the filtered items.
OgeMentionToken<T>{ trigger: string; item: T; value: unknown; text: string; start: number; end: number }An inserted mention — the item, its valueExpr value, the inserted text and its [start, end) range. Tokens shift with edits before them and drop out when edited.
OgeMentionSelectedEvent<T>{ token: OgeMentionToken<T>; item: T; event: Event | undefined }Payload of the mention-selected event.
OgeMentionSearchChangedEvent{ trigger: string; text: string }Payload of the search-changed event.
OgeMentionItemTemplatedirective<ng-template ogeMentionItemTemplate let-item> child — a custom suggestion row; wins over itemTemplate.
OgeMentionItemTemplateContext<T>{ $implicit: T; item: T; index: number; trigger: string; query: string; active: boolean }Context of a custom suggestion row.
KeyboardAPG comboboxArrowDown/ArrowUp move the active suggestion, PageUp/PageDown jump to the ends, Enter or Tab insert, Escape closes until the next trigger. A trigger counts only at the start or after whitespace. The single-line field is role="combobox"; the text area keeps its textbox role (ARIA allows no combobox role there) with aria-autocomplete, aria-controls and aria-activedescendant.

Shared input types

Types 28

Unions & contracts

Name Type Description
OgeInputLabelMode'static' | 'floating' | 'hidden' | 'outside'hidden renders the label as aria-label only.
OgeInputStylingMode'outlined' | 'filled' | 'underlined'Container fill style.
OgeInputSize'xs' | 'sm' | 'md' | 'lg'24 / 28 / 34 / 42px heights, read from --oge-control-height-xs/sm/md/lg.
OgeInputSubscriptSizing'fixed' | 'dynamic' | 'none'fixed reserves one line so errors never shift layout.
OgeInputErrorDisplay'touched' | 'dirty' | 'always'When resolved errors become visible.
OgeInputCounterMode'limit' | 'soft'soft allows typing past maxLength and colors the counter danger.
OgeInputShowSuccessIconfalse | 'touched' | 'always'Success-icon visibility policy.
OgeTextBoxMode'text' | 'email' | 'password' | 'search' | 'tel' | 'url'Native input type of the text box.
OgeNumberBoxMode'text' | 'tel'Native input type of the number box.
OgeFieldError{ kind: string; message?: string }Structural mirror of Signal Forms' ValidationError.

Mask

Name Type Description
OgeMaskRuleRegExp | string | ((char: string) => boolean)One custom mask rule: a one-character RegExp, a string listing the allowed characters, or a predicate.
OgeMaskRulesReadonly<Record<string, OgeMaskRule>>Custom rules keyed by a single mask character.
OgeMaskShowMode'always' | 'onFocus'When the empty mask placeholders are visible.
OgeMaskCompletedEvent{ value: string; rawValue: string; maskedValue: string }Payload of maskCompleted.
ogeMaskComplete(mask, value, { rules?, includeLiterals? })booleanFrom @oge-ui/behavior: true when value fills every required slot (empty counts as complete) — the check a Signal Forms validate() or a server runs without an editor.

Event payloads

Name Type Description
OgeInputValueCommittedEvent<T>{ value: T; previousValue: T; event: Event | undefined }event === undefined means a programmatic change.
OgeInputRawEvent{ text: string; event: Event }Raw keystroke payload.
OgeInputKeyEvent{ event: KeyboardEvent }Enter-key payload.
OgeInputFocusEvent{ event: FocusEvent }Focus/blur payload.

Slots & helpers

Name Type Description
OgeInputPrefixdirective — [ogeInputPrefix]Leading adornment inside the field.
OgeInputSuffixdirective — [ogeInputSuffix]Trailing adornment; renders after the built-in rail buttons.
resolveErrorMessage(sfErrors, cvaErrors, messages)string | nullThe single message a field displays. Signal Forms errors win over reactive-forms errors, and an explicit message wins over the kind→message map. Exported so a form-level error summary reads exactly like the inline text.
formatPattern(pattern, values)stringInterpolates {token} placeholders in a message — the same contract the grid uses for its message patterns.
OgeInputCounterState{ count: number; max: number | undefined; over: boolean }Counter state rendered in the subscript end slot.
OgeInputRevealApi{ visible; active; toggle() }Password-reveal API (text box only).
OgeInputCopyApi{ visible; copied; trigger() }Copy-to-clipboard API (text box only).
OgeInputSpinApi{ visible; canUp; canDown; press(dir, event); release() }Spin-button API (number box only).
measureTextAreaHeight(el, minRows, maxRows?)numberFallback auto-resize measurement for browsers without CSS field-sizing: content.

Inputs configuration

Methods 1

Name Type Description
provideOgeInputsConfig(config: OgeInputsConfigInput): ProviderProviderApplication- or component-scoped defaults; deep-merges messages over the defaults.

Types 30

OgeInputsConfig

Name Type DefaultDescription
spinRepeatDelayMsnumber400Delay before spin buttons start repeating.
spinRepeatIntervalMsnumber80Interval between spin repeats.
copiedResetMsnumber2000How long the copy button shows "copied".
adaptiveMode'auto' | 'none''none'Default adaptiveMode of every popup editor (select box, tag box, autocomplete, tree select, date / date range / color box). 'none' keeps existing apps' anchored drop-downs; switch the whole family with 'auto'.
adaptiveBreakpointnumber600Viewport width (px) below which 'auto' presents popups as bottom sheets / full-screen dialogs.
dataPageSizenumber30Rows a list editor asks its dataSource for per page (select box, tag box, autocomplete, multi-column combo box).
messagesOgeInputsMessages—User-facing strings (see below).

OgeInputsMessages

Name Type DefaultDescription
clearButtonstring'Clear'Aria label of the clear (✕) button.
showPassword / hidePasswordstring'Show password' / 'Hide password'Reveal toggle aria labels.
copyButton / copiedstring'Copy to clipboard' / 'Copied'Copy button aria label and transient confirmation.
spinIncrement / spinDecrementstring'Increase value' / 'Decrease value'Aria labels of the spin buttons.
pending / validstring'Validating' / 'Valid'Screen-reader text next to the pending spinner / success icon.
counter / counterNoMaxstring'{count}/{max}' / '{count}'Visual counter patterns.
counterAria / counterAriaNoMaxstring'{count} of {max} characters used' / '{count} characters entered'Counter aria labels.
requiredErrorstring'This field is required'Resolved message for the required error kind.
emailErrorstring'Enter a valid email address'Resolved message for the email error kind.
minError / maxErrorstring'Value must be at least {min}' / '…at most {max}'Numeric bound errors.
minLengthError / maxLengthErrorstring'Enter at least {requiredLength} characters' / 'Enter no more than…'Length errors.
patternErrorstring'The value has an invalid format'Pattern mismatch.
maskInvalidErrorstring'Complete the value in the required format'Text box / masked text box: required mask slots are empty (also the mask Signal Forms error kind). maskInvalidMessage overrides it per editor.
invalidNumberErrorstring'Enter a valid number'Number box parse failure (reverts on blur).
invalidErrorstring'Invalid value'Fallback for unknown validation error kinds.
moreTagsstring'+{count} more'Overflow chip of maxDisplayedTags (tag box, tree select chips, multi-column combo box). Rendered by ogeMoreTagsText / ogeFormatMessage, so it may be an ICU plural ({count, plural, one {+# weiteres} other {+# weitere}}).
selectedCountstring'{count, plural, one {# selected} other {# selected}}'Closed-field summary of a tag box or tree select in displayMode: 'count'; may be an ICU plural over count.
maxSelectedItemsMessagestring'You can select up to {max} items'Status shown once maxSelectedItems is reached.
compareErrorstring'The values do not match'Resolved message for the forms compare rule.
nowButtonstring'Now'Date box footer button of showNowButton.
presetsLabel / presetToday … presetLastYearstring'Quick ranges' / 'Today' … 'Last year'Aria label of the date range box preset list, and the labels of the built-in ogeDateRangePresets (presetToday, presetYesterday, presetLast7Days, presetLast30Days, presetThisWeek, presetLastWeek, presetThisMonth, presetLastMonth, presetThisYear, presetLastYear).
hourColumnLabel / minuteColumnLabel / secondColumnLabel / dayPeriodColumnLabelstring'Hours' / 'Minutes' / 'Seconds' / 'AM/PM'Aria labels of the time picker columns (timeView: 'columns').
segmentDay / segmentMonth / segmentYear / segmentHour / segmentMinute / segmentSecond / segmentDayPeriodstring'dd' / 'mm' / 'yyyy' / 'hh' / 'mm' / 'ss' / '--'Empty-segment placeholders of the masked date entry (useMaskBehavior) — translate them with the UI (TT.MM.JJJJ).

OgeTextBoxHarness

Methods 12

Harness

Name Type Description
hostSelector'oge-text-box'Static. The host selector the CDK loader matches — import from @oge-ui/inputs/testing; @angular/cdk is an optional peer only this entry needs.
with(filters?: OgeInputHarnessFilters)HarnessPredicate<OgeTextBoxHarness>Static. Predicate for loader.getHarness(): selector, ancestor, label, value (string or RegExp) and disabled.

Common (every input harness)

Name Type Description
getValue()Promise<string>The text the editor shows (the native input’s value).
setValue(text: string)Promise<void>Replaces the text as a user would — clear, type, blur (the commit point). The date box commits with Enter instead.
typeText(text: string)Promise<void>Types without clearing or committing (as-you-type behaviour).
pressEnter()Promise<void>Presses Enter in the input.
getLabel()Promise<string>The visible label without the required mark, or the input’s aria-label under labelMode="hidden".
getPlaceholder()Promise<string>The input’s placeholder.
isDisabled() / isReadonly() / isRequired()Promise<boolean>State from the host classes (oge-disabled, oge-input-readonly) and aria-required.
isInvalid()Promise<boolean>Whether the error state shows (aria-invalid="true") — after errorDisplay allows it.
getErrorText() / getHintText()Promise<string>The visible error message or hint, '' when none.
focus() / blur() / isFocused()Promise<void> | Promise<boolean>Focus control of the native input; blur is the commit point.

Types 1

Name Type Description
OgeInputHarnessFiltersBaseHarnessFilters & { label?, value?: string | RegExp; disabled?: boolean }Options of every input harness’s with().

OgeNumberBoxHarness

Methods 13

Harness

Name Type Description
hostSelector'oge-number-box'Static. The host selector the CDK loader matches — import from @oge-ui/inputs/testing; @angular/cdk is an optional peer only this entry needs.
with(filters?: OgeInputHarnessFilters)HarnessPredicate<OgeNumberBoxHarness>Static. Predicate for loader.getHarness(): selector, ancestor, label, value (string or RegExp) and disabled.

Spin

Name Type Description
increment() / decrement()Promise<void>One step up / down with ArrowUp / ArrowDown, which commits immediately. getValue() is the formatted text — pin locale in specs.

Common (every input harness)

Name Type Description
getValue()Promise<string>The text the editor shows (the native input’s value).
setValue(text: string)Promise<void>Replaces the text as a user would — clear, type, blur (the commit point). The date box commits with Enter instead.
typeText(text: string)Promise<void>Types without clearing or committing (as-you-type behaviour).
pressEnter()Promise<void>Presses Enter in the input.
getLabel()Promise<string>The visible label without the required mark, or the input’s aria-label under labelMode="hidden".
getPlaceholder()Promise<string>The input’s placeholder.
isDisabled() / isReadonly() / isRequired()Promise<boolean>State from the host classes (oge-disabled, oge-input-readonly) and aria-required.
isInvalid()Promise<boolean>Whether the error state shows (aria-invalid="true") — after errorDisplay allows it.
getErrorText() / getHintText()Promise<string>The visible error message or hint, '' when none.
focus() / blur() / isFocused()Promise<void> | Promise<boolean>Focus control of the native input; blur is the commit point.

Types 1

Name Type Description
OgeInputHarnessFiltersBaseHarnessFilters & { label?, value?: string | RegExp; disabled?: boolean }Options of every input harness’s with().

OgeSelectBoxHarness

Methods 18

Harness

Name Type Description
hostSelector'oge-select-box'Static. The host selector the CDK loader matches — import from @oge-ui/inputs/testing; @angular/cdk is an optional peer only this entry needs.
with(filters?: OgeInputHarnessFilters)HarnessPredicate<OgeSelectBoxHarness>Static. Predicate for loader.getHarness(): selector, ancestor, label, value (string or RegExp) and disabled.

Popup

Name Type Description
isOpen()Promise<boolean>Whether the popup is open (aria-expanded="true").
open() / close()Promise<void>Opens the popup with a click on the field / closes it with Escape; each is a no-op when already in that state.

Options

Name Type Description
getOptions(filter?: OgeSelectOptionFilter)Promise<string[]>Texts of the listed options (opens the popup); the listbox is found through aria-controls from the document root.
selectOption(text: string | RegExp)Promise<void>Opens the popup and clicks the first matching option; throws with the option list when none matches.
getSelectedOptionText()Promise<string | null>Text of the aria-selected option of the open list.
search(text: string)Promise<void>Types into the search field (searchEnabled).

Common (every input harness)

Name Type Description
getValue()Promise<string>The text the editor shows (the native input’s value).
setValue(text: string)Promise<void>Replaces the text as a user would — clear, type, blur (the commit point). The date box commits with Enter instead.
typeText(text: string)Promise<void>Types without clearing or committing (as-you-type behaviour).
pressEnter()Promise<void>Presses Enter in the input.
getLabel()Promise<string>The visible label without the required mark, or the input’s aria-label under labelMode="hidden".
getPlaceholder()Promise<string>The input’s placeholder.
isDisabled() / isReadonly() / isRequired()Promise<boolean>State from the host classes (oge-disabled, oge-input-readonly) and aria-required.
isInvalid()Promise<boolean>Whether the error state shows (aria-invalid="true") — after errorDisplay allows it.
getErrorText() / getHintText()Promise<string>The visible error message or hint, '' when none.
focus() / blur() / isFocused()Promise<void> | Promise<boolean>Focus control of the native input; blur is the commit point.

Types 2

Name Type Description
OgeInputHarnessFiltersBaseHarnessFilters & { label?, value?: string | RegExp; disabled?: boolean }Options of every input harness’s with().
Name Type Description
OgeSelectOptionFilter{ text?: string | RegExp }Filter of getOptions().

OgeDateBoxHarness

Methods 17

Harness

Name Type Description
hostSelector'oge-date-box'Static. The host selector the CDK loader matches — import from @oge-ui/inputs/testing; @angular/cdk is an optional peer only this entry needs.
with(filters?: OgeInputHarnessFilters)HarnessPredicate<OgeDateBoxHarness>Static. Predicate for loader.getHarness(): selector, ancestor, label, value (string or RegExp) and disabled.

Popup

Name Type Description
isOpen()Promise<boolean>Whether the picker is open (aria-expanded="true").
open() / close()Promise<void>Opens the picker with a click on the field / closes it with Escape; each is a no-op when already in that state.

Calendar

Name Type Description
getCalendarTitle()Promise<string>The heading of the month on show ("March 2026").
nextMonth() / previousMonth()Promise<void>Moves the picker one month.
selectDay(day: number)Promise<void>Opens the picker and clicks a day of the month on show (adjacent months’ days skipped); a date-only box commits and closes.

Common (every input harness)

Name Type Description
getValue()Promise<string>The text the editor shows (the native input’s value).
setValue(text: string)Promise<void>Replaces the text as a user would — clear, type, blur (the commit point). The date box commits with Enter instead.
typeText(text: string)Promise<void>Types without clearing or committing (as-you-type behaviour).
pressEnter()Promise<void>Presses Enter in the input.
getLabel()Promise<string>The visible label without the required mark, or the input’s aria-label under labelMode="hidden".
getPlaceholder()Promise<string>The input’s placeholder.
isDisabled() / isReadonly() / isRequired()Promise<boolean>State from the host classes (oge-disabled, oge-input-readonly) and aria-required.
isInvalid()Promise<boolean>Whether the error state shows (aria-invalid="true") — after errorDisplay allows it.
getErrorText() / getHintText()Promise<string>The visible error message or hint, '' when none.
focus() / blur() / isFocused()Promise<void> | Promise<boolean>Focus control of the native input; blur is the commit point.

Types 1

Name Type Description
OgeInputHarnessFiltersBaseHarnessFilters & { label?, value?: string | RegExp; disabled?: boolean }Options of every input harness’s with().

Notes

  • All editors implement both classic ControlValueAccessor and Signal Forms' FormValueControl — the readonly/errors/touch names are fixed by that contract.
  • (valueCommitted) is the reference onValueChanged equivalent; native keydown/paste/cut bubble from the inner input and can be bound on the host element directly.
  • The suffix rail order is a contract: prefix · input · pending⊻success · copy · reveal · clear · spin · suffix.