FoTextInputComponent class

Annotations
  • @Component.new(selector: 'fo-text-input', templateUrl: 'fo_text_input_component.html', styleUrls: ['fo_text_input_component.css'], directives: [FoButtonComponent, FoDropdownListComponent, FoDropdownOption, FoErrorOutputComponent, FoLabelComponent, formDirectives, FoIconComponent, coreDirectives], pipes: [CapitalizePipe], changeDetection: ChangeDetectionStrategy.OnPush)

Constructors

FoTextInputComponent(@Self.new() @Optional.new() NgControl? control, Element host, ChangeDetectorRef _changeDetectorRef)

Properties

actionButtonController → StreamController<FoButtonEvent>
final
actionButtonIcon ↔ String?
getter/setter pair
actionButtonLabel ↔ String?
getter/setter pair
actionButtonTrigger → Stream<FoButtonEvent>
Action button triggered
no setter
autocomplete ↔ String?
getter/setter pair
autoFocus ↔ bool
getter/setter pair
blur → Stream<String>
Component lost focus
no setter
centerValue ↔ bool
getter/setter pair
changeController → StreamController<Event>
final
clear → Stream<Event>
Clear icon is clicked
no setter
clearIcon ↔ bool?
getter/setter pair
constrainToViewPort ↔ bool
Make sure options dropdown doesn't extend beyond the viewport
getter/setter pair
control ↔ NgControl?
getter/setter pair
disabled ↔ bool
getter/setter pair
Max height of options dropdown, in pixels
getter/setter pair
no setter
getter/setter pair
getter/setter pair
errorMessage → String?
no setter
filterOptions ↔ bool
Set to false if you want all options appear regardless of what the user types
getter/setter pair
filterValue → String?
no setter
focus → Stream<FocusEvent>
no setter
hasFocus ↔ bool
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
hideErrorsOnBlur ↔ bool
getter/setter pair
host ↔ Element
getter/setter pair
inputElement ↔ InputElement
getter/setter pair
label ↔ String?
getter/setter pair
leadingIcon ↔ String?
getter/setter pair
leadingText ↔ String?
getter/setter pair
leftBorder ↔ bool
getter/setter pair
materialIcons ↔ bool
getter/setter pair
options ↔ Map<String, List<FoDropdownOption>>
getter/setter pair
placeholder ↔ String?
getter/setter pair
rightBorder ↔ bool
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
selectionChange → Stream<SelectionChangeEvent>
no setter
selectionEnd → int?
no setter
selectionStart → int?
no setter
showDropdownCategoryLabels ↔ bool
getter/setter pair
showDropdownOnFocus ↔ bool
getter/setter pair
type ↔ String
getter/setter pair
value ↔ String
getter/setter pair

Methods

ngAfterViewInit() → void
ngOnDestroy() → void
Executed before the directive is removed from the DOM and destroyed.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onBlur(Event event) → void
onClear(Event event) → void
onDisabledChanged(bool isDisabled) → void
This function is called when the control status changes to or from "DISABLED".
onFilterSelect(FoDropdownOption event) → void
onFocus(FocusEvent event) → void
onKeyUp(Event event) → void
onValueChange(String event) → void
registerOnChange(ChangeFunction<String> f) → void
Set the function to be called when the control receives a change event.
registerOnTouched(TouchFunction f) → void
Set the function to be called when the control is touched.
toString() → String
A string representation of this object.
inherited
writeValue(String? obj) → void
Write a new value to the element.

Operators

operator ==(Object other) → bool
The equality operator.
inherited