Table of Contents

Text input

Available from DataMiner 10.3.5/10.4.0 onwards. This basic control allows the user to enter text, which will then be available as string data in the dashboard or low-code app. The string data can be used by queries and by script parameters in low-code app actions.

Text input
Text input component in DataMiner 10.4.6

The following options are available to fine-tune the component layout:

  • Label: Text that will be displayed next to the text input box.

  • Inline: Available from DataMiner 10.3.9/10.4.0 onwards. Determines whether the label is displayed above the text input box or next to it. If this option is selected, it is displayed next to the box.

  • Placeholder: Placeholder that will be displayed inside the text input box.

  • Icon: Icon that will be displayed in the text input box.

In the Settings tab, you can also configure the following optional settings:

  • Emit value on: Determines when the value in the box becomes available as data. This can be when the user presses Enter ("Enter"), when the focus is no longer on the box ("Focus lost"), or when the value in the box changes ("Value change"). If you select Focus lost, the value will also become available when the user presses Enter.

  • Default value: Available from DataMiner 10.4.0 [CU10]/10.5.1 onwards. Allows you to specify the default value that will be entered into the text input component when the dashboard or low-code app is opened.

  • Multiline: Determines whether the input can consist of multiple lines or not.

Note

From DataMiner 10.3.0 [CU10]/10.4.1 onwards, you can drag data to the component to link it to that data, or specify data input in the dashboard URL. This way, the component will be filled in based on the data, but users will still be able to modify the value.

Component actions

From DataMiner 10.3.0 [CU18]/10.4.0 [CU6]/10.4.9 onwards, when you have added a text input component to a low-code app, you can configure the following component action in your low-code app to interact with the component:

  • Set value: Allows you to set the current value of the component to either a static value or data input.

    Note

    When the component has the General > Emit value on > Value change option enabled, the value will immediately be passed as the component's data. If this option is not enabled, the value will only be passed when Enter is pressed (if the General > Emit value on > Enter option is enabled) or when the focus is no longer on the box (if the General > Emit value on > Focus lost option is enabled).