---
title: "Dev.ux.UpperTextField"
description: "xtype 为 uppertextfield 的 Ext JS 原生组件参考。"
---

> Documentation Index
> Fetch the complete documentation index at: https://ag.879818327.xyz/llms.txt
> Use this file to discover all available pages before exploring further.

# Dev.ux.UpperTextField

源码定义：`wb/libs/ext/plugin/Uppertextfield.js:1`。分类：表单与字段。

## 创建示例

```javascript
var component = Ext.create("Dev.ux.UpperTextField", {
  xtype: "uppertextfield",
  labelSeparator: '',
  renderTo: Ext.getBody()
});
```

## 属性

| 属性 | 类型 | 默认值 | 说明 | 配置示例 |
| --- | --- | --- | --- | --- |
| `labelSeparator` | `String` | `''` | 配置组件的 `labelSeparator` 选项。 | `labelSeparator: ''` |

## 方法

| 方法 | 参数 | 说明 | 调用示例 |
| --- | --- | --- | --- |
| `initComponent` | `` | 初始化组件及其子项。 执行时会保留父类默认行为。源码涉及 `callParent()`。 | `component.initComponent()` |
| `getValue` | `` | 调用并直接返回父类的值，不对结果作额外转换。 | `component.getValue()` |

## 事件

源码中未找到该组件自身注册的事件；可监听继承事件。

Source: https://ag.879818327.xyz/ext/form/dev-ux-uppertextfield/index.mdx
