You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
new Scheduler({
tbar : [
{
type : 'combo',
label : 'L{testLabel}',
items : [{
value : 'monthAndYear',
text : 'L{monthText}'
},
{
value : 'weekAndDay',
text : 'L{weekText}'
},
{
value : 'dayAndWeek',
text : 'L{dayText}'
}]
}
],
See items are not localized. Select and item. See selected value is not localized.
Workaround:
LocaleManager.on({
locale() {
const value = scheduler.widgetMap.myCombo.value;
scheduler.widgetMap.myCombo.value = null;
scheduler.widgetMap.myCombo.value = value;
}
});
new Scheduler({
tbar : [
{
type : 'combo',
ref : 'myCombo',
label : 'L{testLabel}',
displayValueRenderer(record, combo) {
// `this` - Combo
return record ? this.L(record.text) : '';
},
listItemTpl({ text }) {
// `this` - List
// `this.owner` - Combo
return this.owner.L(text);
},
items : [{
value : 'monthAndYear',
text : 'L{monthText}'
},
{
value : 'weekAndDay',
text : 'L{weekText}'
},
{
value : 'dayAndWeek',
text : 'L{dayText}'
}]
}
],
https://www.bryntum.com/forum/viewtopic.php?p=86765#p86765
Another request
Scheduler/examples/localization/locales/custom.locale.En.js
Scheduler/examples/localization/app.js
See items are not localized. Select and item. See selected value is not localized.
Workaround:
This might me related: #1429
The text was updated successfully, but these errors were encountered: