Skip to main content
Question

Content Picker chooseButtonLabel doesn't work

  • May 22, 2025
  • 2 replies
  • 8 views

Forum|alt.badge.img

Hi,

   I'm using Content Picker in javascript and want to change choose button label to "Move".  However the passed in option for chooseButtonLabel doesn't seem to work.  The choose button label is still "Choose".  Any suggestions? Thanks.

Here is my code:

 

var folderPicker = new Box.FolderPicker();

// Show the folder picker
folderPicker.show(folderId, accessToken, {
container: displayContainer,
canSetShareAccess: false,
canUpload: false,
maxSelectable: 1,
chooseButtonLabel: 'Move'
});

 

2 replies

Forum|alt.badge.img

Hey wintech, what version of the content picker are you using? I tested the latest version v1.6.1, which works with the 'chooseButtonLabel' option, see: https://codepen.io/box-platform/pen/PWPxBm

 

Support for this option was added in v1.1.0, see: https://github.com/box/box-ui-elements/releases/tag/v1.1.0


Forum|alt.badge.img

Thank you.  The new version works fine.  I was using 1.0.2 from the sample code page.