更改的默认按钮标签(Change default button label of )
我正在使用
<p:fileUpload mode="simple">
。 Chrome和Firefox中的按钮标签显示不同。 我希望它在各个浏览器中都是一样的。 我尝试通过设置label
属性来更改它,如下所示:<p:fileUpload label="Browse" ... mode="simple" />
但是,它没有效果。 我怎样才能做到这一点?
I am using
<p:fileUpload mode="simple">
. The button label shows differently in Chrome and Firefox. I would like it to be the same across browsers. I tried changing it by setting thelabel
attribute as follows:<p:fileUpload label="Browse" ... mode="simple" />
However, it had no effect. How can I achieve this?
原文:https://stackoverflow.com/questions/17469844
更新时间:2022-02-15 19:02