跳转到内容

Text

文本输入框

API

ITextProps

参数类型说明默认值
prefixstring前缀-
suffixstring后缀-
styleReact.CSSProperties自定义样式-
formatstring | ((value: any) => string)自定义格式化-

用法

<View title="Switch" version="2">
<Record key="person" model="trantor_doc_Person" />
<Form model="trantor_doc_Person" title="编辑态">
<Fields>
<Field name="name">
<RenderType>
<Text />
</RenderType>
</Field>
</Fields>
</Form>
</View>

注意:当前例子为0.17.x 版本