Skip to main content

upp-input-select

A text field with an optional dropdown of string options. Implements ControlValueAccessor so it can be typed freely or filled by picking a listed value.

When to Use

Use upp-input-select when the operator may type a custom value or choose from known options (for example OS printer names). Prefer upp-input when there is no option list, and upp-select when the value must come only from a closed set.

Demo

Source Code

<form [formGroup]="form">
<upp-input-select
formControlName="device"
title="Printer device"
placeholder="Device name"
[options]="printers"
[kiosk]="false"
[errornfo]="errorMessages"
></upp-input-select>
</form>

API Reference

Input / OutputTypeDescription
optionsstring[]Dropdown values. Empty list hides the expand control.
titlestringFloating caption above the field.
placeholderstringPlaceholder for the text field.
formControlNamestringReactive forms binding.
disabled / readonlybooleanDisable or lock typing.
kioskbooleanKiosk keyboard mode for the inner text field.
errornfoRecord<string, string>Validation messages by error key.
ChangedEventEmitter<string | null>Emits on type or pick.
FocusEventEmitter<void>Emits when the text field focuses.