Replies: 2 comments 4 replies
-
Hi @joeDH00 This is how I change the content of the attachment field component. I hope it helps you. parent.document.querySelector('.spectrum-IllustratedMessage-heading').textContent = 'Upload your file';
parent.document.querySelector('.spectrum-IllustratedMessage--cta .spectrum-IllustratedMessage-description label').textContent = '📷';
parent.document.querySelector('.spectrum-IllustratedMessage--cta .spectrum-IllustratedMessage-description').lastChild.textContent = 'Drag and drop files from your device';
|
Beta Was this translation helpful? Give feedback.
-
Hey @joeDH00 - this is a good suggestion and something we could certainly look into. It would be a fairly straightforward change to add a field to the settings to allow the builder to determine what gets displayed to the end user in a similar way to how the "No rows found" text is set in the table. If you feel confident in tackling it, you could submit a PR, alternatively you could create a new issue and suggest it as an enhancement. |
Beta Was this translation helpful? Give feedback.
-
Hi, I have a question regarding changing the language of the budibase component specifically the attachment field.
I was wondering if I can change this component language to use other language such as Malay. So instead of "Drag and drop your file. Select a file to upload from your computer", I can change it to use other language
Beta Was this translation helpful? Give feedback.
All reactions