We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 01c6a7f commit de0c80bCopy full SHA for de0c80b
src/input/_example/suffix/index.wxml
@@ -9,4 +9,8 @@
9
<t-button slot="suffix" theme="primary" size="extra-small"> 操作按钮 </t-button>
10
</t-input>
11
12
+<t-input label="标签文字" placeholder="请输入文字" tips="最多十个字">
13
+ <t-button slot="extra" theme="primary" maxcharacter="{{10}}" size="extra-small"> 操作按钮 </t-button>
14
+</t-input>
15
+
16
<t-input label="标签文字" placeholder="请输入文字" suffixIcon="{{ { name: 'user-avatar', ariaLabel: '通讯录' } }}" />
src/input/input.wxml
@@ -98,4 +98,6 @@
98
</view>
99
<slot name="tips" />
100
101
102
+ <slot name="extra" />
103
0 commit comments