2016-10-04 65 views

回答

2

您可以將buttonConfig添加到您的文件字段對象,並指定這些設置以避開Chrome的默認設置。我還沒有找到一種在Firefox中擺脫它的方法。

   { 
        xtype: 'filefield', 
        buttonConfig: { 
         xtype: 'filebutton', 
         text: 'MyButton', 
         tooltip: ' ', 
         tooltipType: 'title' 
        } 
       } 
+0

Thanx尋求幫助。它也適用於我的Chrome瀏覽器。但也想在Firefox中隱藏它。所以如果有人知道,請幫忙 – user3089968

+0

你好,以上代碼適用於Chrome。但在MAC操作系統上,工具提示框仍顯示爲空白文本。 – user3089968