furo-ui5-text-input-labeled

furo-ui5-text-input-labeled #

@furo/ui5 v1.18.0
import '@furo/ui5/src/furo-ui5-text-input-labeled.js';
exports FuroUi5TextInputLabeled js
exports <furo-ui5-text-input-labeled> custom-element-definition
superclass LitElement
mixes FBP

Summary: labeled input field

Description #

furo-ui5-text-input-labeled The furo-ui5-text-input-labeled is a composition to easily use a complete input field with label according to the design specification of SAP Fiori Design System.

Example #

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
<furo-form-layouter four>
  <furo-ui5-text-input-labeled
    fn-bind-data="--doExp(*.furo_data_text_input)"
  ></furo-ui5-text-input-labeled>
  <furo-ui5-text-input-labeled
    readonly
    fn-bind-data="--doExp(*.furo_data_text_input)"
  ></furo-ui5-text-input-labeled>
  <furo-ui5-text-input-labeled
    disabled
    fn-bind-data="--doExp(*.furo_data_text_input)"
  ></furo-ui5-text-input-labeled>  
  <furo-ui5-text-input-labeled
    required
    fn-bind-data="--doExp(*.furo_data_text_input)"
  ></furo-ui5-text-input-labeled>
  <furo-ui5-text-input-labeled
    value-state="Success"
    placeholder="Placeholder"
    fn-bind-data="--doExp(*.furo_data_text_input)"
  ></furo-ui5-text-input-labeled>
</furo-form-layouter>

Attributes and Properties #

label #

label string default: ''

the label for the data-text-input

descFieldPath #

desc-field-path string default: 'id'

Defines the field path that is used from the bound RepeaterNode (bindOptions) to display the additional description of the option items. Point-separated path to the field E.g. data.partner.id default: id This attribute is related to the option list

displayFieldPath #

display-field-path string default: 'display_name'

Defines the field path that is used from the injected RepeaterNode to display the option items. Point-separated path to the field E.g. data.partner.display_name

full #

full boolean

This is only used to forward the state to the form-field-container

required #

required Boolean

A Boolean attribute which, if present, means this field is required and marked with *.

disabled #

disabled Boolean

A Boolean attribute which, if present, means this field cannot be edited by the user and appears in disabled state.

readonly #

readonly Boolean

A Boolean attribute which, if present, means this field is readonly.

Events #

furo-value-changed #

at-furo-value-changedString

Fires the field value when it changes.

Methods #

focus #

focus(options Object ) ⟹ void

Object fn-focus

Focuses the underlying ui5 input element

bindData #

bindData(fieldNode FieldNode ) ⟹ void

FieldNode fn-bind-data

Orchestrates the data field connection to the inside

  • fieldNode

bindOptions #

bindOptions(repeaterNode `` ) ⟹ void

`` fn-bind-options

Binds a repeaterNode to the furo-ui5-combobox component

  • repeaterNode

Slots #

icon #

Type: HTMLElement

defines the icon to be displayed in the input element.

icon #

Type: HTMLElement

Defines the icon to be displayed in the input.