跳转至

Numeric Input(数字输入(Numeric Input))

The Numeric Input widget allows users to enter numeric values.

Configuration Options

  • Label
  • Sets an optional label for the widget. This text is displayed across the top of the widget.
  • Show grouping
  • If toggled on, formats the numeric input with a comma style thousands separator.
  • Include option to reset to default value
  • If toggled on, adds a button on the widget’s for clearing out the input field.
  • Unit prefix
  • If toggled on, displays read-only text or icon of choice in the left-hand side of the widget’s input field.
  • Unit suffix
  • If toggled on, displays a read-only suffix in the right-hand side of the widget’s input field. The suffix can be text, an icon of choice, or a percent sign. If the percent sign is selected, the output variable of the widget will be the user-entered value divided by 100 to convert the value to percentage form.
  • Output data
  • Numeric value: Output variable of the widget, storing the user’s inputted numeric value.

中文翻译

数字输入(Numeric Input)

数字输入(Numeric Input)组件允许用户输入数值。

配置选项(Configuration Options)

  • 标签(Label)
  • 为组件设置可选标签。该文本将显示在组件顶部。
  • 显示分组(Show grouping)
  • 若开启此选项,数字输入将使用逗号作为千位分隔符进行格式化。
  • 包含重置为默认值的选项(Include option to reset to default value)
  • 若开启此选项,将在组件上添加一个用于清空输入字段的按钮。
  • 单位前缀(Unit prefix)
  • 若开启此选项,将在组件输入字段的左侧显示只读文本或自定义图标。
  • 单位后缀(Unit suffix)
  • 若开启此选项,将在组件输入字段的右侧显示只读后缀。后缀可以是文本、自定义图标或百分号。如果选择百分号,组件的输出变量将为用户输入值除以100后的结果,以将数值转换为百分比形式。
  • 输出数据(Output data)
  • 数值(Numeric value): 组件的输出变量,用于存储用户输入的数值。