Input (string)

Click to copy

字符串的输入字段


外观和感觉设置。

Label(非强制性) - 输入的标签。

Default value(非强制性) - 输入的默认值。

Placeholder(非强制性) - 输入的占位符。

Name(强制性) - 输入的名称。

Tooltip(非强制性) - 输入的提示。

Required(mandatory) - 使该字段必须输入。默认情况下是禁用的。

Allow clear(mandatory) - 清除输入的图标。默认情况下是禁用的。

Validate icon(强制性) - 输入的验证图标。默认情况下是禁用的。

Disabled(mandatory) - 如果打开,使该组件失效。默认情况下是关闭的。

Visible(mandatory) - 如果打开,使该组件可见。默认情况下是启用的。


工作流触发器。

  • onCreate- 当该元素在页面上被创建时触发。
  • onShow- 当组件的状态变为可见(在页面上显示)时启动。
  • onHide- 当组件的状态变为隐藏(停止显示)时发射。
  • onDestroy- 在组件被销毁前发生火灾。
  • onChange- 当值被改变时触发。
  • onFocus- 当组件被聚焦时发生火灾。
  • onBlur- 当组件被模糊时启动。
  • onEnterKey- 当按下回车键时触发。

组件动作。

InputString Get Properties

获取组件的属性。

输入 参数。

  • Component Id [string]- 输入组件的标识符。

输出参数。

  • Label[string]- 输入标签。
  • Placeholder[string]- 输入占位符。
  • Allow clear[boolean]- 允许清除的状态。
  • Disable[boolean]- 如果为真,则禁用组件。
  • Visible[boolean]- 组件的可见性状态。
  • Tooltip[string]- 输入字段提示。
  • Required[boolean]- 如果为真,显示所需标记。
  • Debounce (ms)[integer]- 延迟验证值。
  • Value[string]- 输入的值。
  • Validate Icon [boolean]- 验证值时显示的图标。
  • Validate Status [Status type]- 验证值时显示的状态。
  • Validate Message [string]- 验证值时显示的信息。

InputString Set Properties

设置组件的属性。

输入 参数。

  • Component Id [string]- 输入组件的标识符。
  • Label[string]- 输入标签。
  • Placeholder[string]- 输入占位符。
  • Allow clear [boolean]- 允许清除的状态。
  • Disable[boolean]- 如果为真,则禁用组件。
  • Visible[boolean]- 组件的可见性状态。
  • Tooltip [string]- 输入字段提示。
  • Required[boolean]- 如果为真,显示所需标记。
  • Debounce (ms) [integer]- 延迟验证值。
  • Value[string]- 输入的值。
  • Validate Icon [boolean]- 验证值时显示的图标。
  • Validate Status [Status type]- 验证值时显示的状态。
  • Validate Message [string]- 验证值时显示的信息。

InputString Update Properties

更新组件的属性。

输入 参数。

  • Component Id [string]- 输入组件的标识符。
  • Label[string]- 输入标签。
  • Placeholder[string]- 输入占位符。
  • Allow clear [boolean]- 允许清除的状态。
  • Disable[boolean]- 如果为真,则禁用组件。
  • Visible[boolean]- 组件的可见性状态。
  • Tooltip [string]- 输入字段提示。
  • Required[boolean]- 如果为真,显示所需标记。
  • Debounce (ms) [integer]- 延迟验证值。
  • Value[string]- 输入的值。
  • Validate Icon [boolean]- 验证值时显示的图标。
  • Validate Status [Status type]- 验证值时显示的状态。
  • Validate Message [string]- 验证值时显示的信息。


使用例子

最常见的是,在 InputString被用于处理数据库中的记录的表单中。