I have a widget in my action column that looks like this:
{
type: 'filepicker',
cls: 'invoice-file-picker',
itemId: 'upload-invoice-attachment-button',
badge: null,
fileFieldConfig: {
badge: null,
},
buttonConfig: {
text: 'Upload Invoice',
cls: 'b-green b-raised',
badge: null,
},
listeners: {
change: async ({ source: btn, files: files }) => {
// Upload file
},
},
},
I am able to select the file picker button and change its appearance like this:
.custom-grid-inner-body .invoice-file-picker .b-green.b-raised {
color: white !important;
background-color: rgb(128, 0, 43) !important;
border-radius: 30px !important;
}
However, nothing I've tried disables the badge that appears on the file picker. Please give me some advice on how to approach this.