diff --git a/api/js/etemplate/Et2Select/Et2WidgetWithSelectMixin.ts b/api/js/etemplate/Et2Select/Et2WidgetWithSelectMixin.ts index 2ffbfcc06f..a5ef719d9b 100644 --- a/api/js/etemplate/Et2Select/Et2WidgetWithSelectMixin.ts +++ b/api/js/etemplate/Et2Select/Et2WidgetWithSelectMixin.ts @@ -109,6 +109,19 @@ export const Et2WidgetWithSelectMixin = >(supe */ private _xmlOptions : SelectOption[] = []; + /** + * List of properties that get translated + * @returns object + */ + static get translate() + { + return { + ...super.translate, + emptyLabel: true, + } + } + + constructor(...args : any[]) { super(...args);