diff --git a/zh-cn/application-dev/reference/arkui-ts/ts-basic-components-textarea.md b/zh-cn/application-dev/reference/arkui-ts/ts-basic-components-textarea.md index e971e75f7edb1d1636c26dd22bc92053c4e38ee8..bb1f60b8b011452adede1df3dc82115509352e8f 100644 --- a/zh-cn/application-dev/reference/arkui-ts/ts-basic-components-textarea.md +++ b/zh-cn/application-dev/reference/arkui-ts/ts-basic-components-textarea.md @@ -42,6 +42,8 @@ TextArea(value?:{placeholder?: ResourceStr, text?: ResourceStr, controller?: Tex | style10+ | [TextContentStyle](ts-appendix-enums.md#textcontentstyle10) | 设置文本框多态样式。
默认值:TextContentStyle.DEFAULT | | enableKeyboardOnFocus10+ | boolean | TextArea获焦时,是否绑定输入法
默认值:true。从API version 10开始,获焦默认绑定输入法。 | | selectionMenuHidden10+ | boolean | 设置长按输入框或者右键输入框时,是否弹出文本选择菜单。
默认值:false | +| barState10+ | [BarState](ts-appendix-enums.md#BarState) | 设置内联输入风格编辑态时滚动条的显示模式。
默认值:BarState.Auto | +| maxLines10+ | number | 设置内联输入风格编辑态时文本可显示的最大行数。
默认值:3 | > **说明:** > diff --git a/zh-cn/application-dev/reference/arkui-ts/ts-basic-components-textinput.md b/zh-cn/application-dev/reference/arkui-ts/ts-basic-components-textinput.md index 712d21737700292b21b47f8cb84f48fb5a4c0a72..36454d26ff4d56c2137653bc6686eccadfb1b25a 100644 --- a/zh-cn/application-dev/reference/arkui-ts/ts-basic-components-textinput.md +++ b/zh-cn/application-dev/reference/arkui-ts/ts-basic-components-textinput.md @@ -51,6 +51,8 @@ TextInput(value?:{placeholder?: ResourceStr, text?: ResourceStr, controller?: Te | passwordIcon10+ | [PasswordIcon](#passwordicon10对象说明) | 密码输入模式时,设置输入框末尾的图标。
默认为系统提供的密码图标。 | | enableKeyboardOnFocus10+ | boolean | TextInput获焦时,是否绑定输入法
默认值:true。从API version 10开始,获焦默认绑定输入法。 | | selectionMenuHidden10+ | boolean | 设置长按输入框或者右键输入框时,是否弹出文本选择菜单。
默认值:false | +| barState10+ | [BarState](ts-appendix-enums.md#BarState) | 设置内联输入风格编辑态时滚动条的显示模式。
默认值:BarState.Auto | +| maxLines10+ | number | 设置内联输入风格编辑态时文本可显示的最大行数。
默认值:3 | > **说明:** >