diff --git a/src/bundle/Resources/public/js/OnlineEditor/buttons/ez-btn-customtag-update.js b/src/bundle/Resources/public/js/OnlineEditor/buttons/ez-btn-customtag-update.js
index 8aa9b159..3b45d774 100644
--- a/src/bundle/Resources/public/js/OnlineEditor/buttons/ez-btn-customtag-update.js
+++ b/src/bundle/Resources/public/js/OnlineEditor/buttons/ez-btn-customtag-update.js
@@ -114,7 +114,7 @@ export default class EzBtnCustomTagUpdate extends EzWidgetButton {
value={this.state.values[attrName].value}
onChange={this.updateValues.bind(this)}
data-attr-name={attrName}>
- {config.choices.map(this.renderChoice.bind(this))}
+ {config.choices.map((choice) => this.renderChoice(choice, config.choicesLabel[choice]))}
);
@@ -138,10 +138,11 @@ export default class EzBtnCustomTagUpdate extends EzWidgetButton {
*
* @method renderChoice
* @param {String} choice
+ * @param {String} label
* @return {Object} The rendered option.
*/
- renderChoice(choice) {
- return ;
+ renderChoice(choice, label) {
+ return ;
}
/**