extjs上传文件文本框

怎么做出来如图所示的 文件上传文本框在加上两个按钮
2025-05-13 03:20:35
推荐回答(1个)
回答(1):

xtype : 'filefield',
fieldLabel : '文件',
emptyText : ‘请选择一个文件’,
id : 'docName',
name : 'docName',
msgTarget : 'side',
allowBlank : false,
anchor : '95%',
buttonConfig : {
iconCls : 'silk-folder'
},
buttonText : '选择'