Input Select
LmnInputSelectComponent
import { LmnInputSelectComponent } from '@elemental/ui';
Decorators: |
|
Generic types: | T |
Selectors: |
|
Extends: |
|
Implements: |
|
Use
selector to use this component as a select input.
lmn-input-select
Constructor
No documentation has been provided. |
Presentation
|
Properties
Name | Type | Description |
---|---|---|
#skipFocusOnPopoverClose | boolean | |
addValueAsOption r |
| Event emitted when a value is added as option. |
allowAddValueAsOption r |
| If it is set to true and usageMode is "combobox" or "autocomplete", it shows an "Add [value]" option in the suggestions dropdown (where value is the current content of the text field). |
allowClear r |
| If it is set to true, and both disabled and readonly are set to false, a "clear" button is displayed in the field whenever the field is not empty. |
attrId r |
| If it is defined, an id="[value]" attribute is added to the input, otherwise a default id will be assigned. |
attrLang r |
| If it is defined, a lang="[value]" attribute is added to the input. |
attrName r |
| If it is defined, a name="[value]" attribute is added to the input. |
attrSpellCheck r |
| If defined and different from "auto", a spellcheck="[value]" attribute is added to the input. |
autocomplete r |
| If it is defined, an |
clear r |
| Event emitted when the input is cleared. |
controlDirective r inherited from
|
| Represent the Angular Control associated with the component. |
dirty r inherited from
|
| Indicates if the control is dirty |
disabledMarker r |
| If it is defined and disabled is set to true, it is displayed as the disabled marker after the label (if visible) of the input. |
disabledReason r |
| If it is defined and disabled is set to true, it is displayed as the content of the popover opened by the info button. |
disabledReasonTriggerAriaLabel r |
| The aria label to be applied to the "i" button displayed when the input is disabled. If not defined, disabledReasonTriggerTooltip is used instead. |
disabledReasonTriggerTooltip r |
| The label to be used in the tooltip applied on hover/focus to the "i" button displayed when the input is disabled. |
hasError r inherited from
|
| Indicates if the control has errors |
hasVisualError r inherited from
|
| Indicates if the control has a visual error by checking the |
inputChange r |
| Event emitted when the value in the input changes. |
isDisabled r inherited from
|
| Indicates if the control is disabled |
language r |
| If it is defined, it is used as extended label for languageCode. |
languageCode r |
| If it is defined, it is displayed as the language marker after the label (if visible) of the input. |
name r inherited from
|
| Define the name of the form group |
nativeElement r | HTMLElement | |
negative r inherited from
|
| Define the negative style for group |
placeholder r |
| If it is defined, a placeholder="[value]" attribute is added to the input. |
readonly r |
| If it is set to true, a readonly="[value]" attribute is added to the input. |
readonlyMarker r |
| If it is defined and readonly is set to true, it is displayed as the readonly marker after the label (if visible) of the input. |
required r inherited from
|
| Indicates if the control is required |
requiredMarker r |
| If it is defined and required is set to true, it is displayed as the required marker after the label (if visible) of the input. |
requiredTrue r inherited from
|
| Indicates if the control is true |
selectedOptionChange r |
| Event emitted when one option is selected. |
selectionMode r |
| It switches from single selection and multiple selection, and vice versa. |
shape r |
| sets the shape of the control |
size r |
| sets the size of the control |
touched r inherited from
|
| Indicates if the control is touched |
value r inherited from
|
|
Methods
focus() |
---|
No documentation has been provided. |
Presentation
|
Returnsvoid |
setAllowWithoutControl()inherited from
| ||||||
---|---|---|---|---|---|---|
No documentation has been provided. | ||||||
Presentation
| ||||||
Parameters
Returnsvoid |
protected toggleListPopover() | ||||||
---|---|---|---|---|---|---|
Handles the opening/closing of the popover for select and combobox usage modes | ||||||
Presentation
| ||||||
Parameters
Returnsvoid |
LmnInputOptionsComponent
import { LmnInputOptionsComponent } from '@elemental/ui';
Decorators: |
|
Selectors: |
|
Properties
Name | Type | Description |
---|---|---|
listElements r |
| |
listItems r |
| |
nativeElement r | HTMLElement |
LmnInputOptionsSlateComponent
import { LmnInputOptionsSlateComponent } from '@elemental/ui';
Decorators: |
|
Selectors: |
|
Properties
Name | Type | Description |
---|---|---|
nativeElement r | HTMLElement |
LmnInputLabelComponent
import { LmnInputLabelComponent } from '@elemental/ui';
Decorators: |
|
Selectors: | [ |
Properties
Name | Type | Description |
---|---|---|
nativeElement r | HTMLElement |
LmnInputHintComponent
import { LmnInputHintComponent } from '@elemental/ui';
Decorators: |
|
Selectors: | [ |
Properties
Name | Type | Description |
---|---|---|
nativeElement r | HTMLElement |
LmnInputErrorComponent
import { LmnInputErrorComponent } from '@elemental/ui';
Decorators: |
|
Selectors: |
|
Properties
Name | Type | Description |
---|---|---|
nativeElement r | HTMLElement | |
templateRef r |
|
LmnInputAlertComponent
import { LmnInputAlertComponent } from '@elemental/ui';
Decorators: |
|
Selectors: |
|
Properties
Name | Type | Description |
---|---|---|
nativeElement r | HTMLElement | |
templateRef r |
|