javascript - Extjs 6.2.0 modern filefield as button -


i trying create filefield button icon. seems in documentation not supported in modern 6.2.0. there way?

link docs: http://docs.sencha.com/extjs/6.2.0/modern/ext.field.file.html

there doesn't seem way change text in default button or text accompanying it.

that design. file input's text browser defined , not meant changed developer. people work around generating display:hidden file input , generic button triggers file input via js.

i fear you'll have divert similar measures in extjs.

for reference here's discussion on how change label of plain-old html file input element: labeling file upload button


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -