Fixed an issue with empty locale provider while editing collation. #5611

This commit is contained in:
JyotiEdb 2024-03-29 11:40:44 +05:30 committed by GitHub
parent 3fa48f26b8
commit 4ae9132b59
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -87,7 +87,7 @@ export default class CollationSchema extends BaseUISchema {
},
{
id: 'provider', label: gettext('Locale Provider'),
editable: false, type: 'select',mode: ['create', 'edit'], group: gettext('Definition'),
editable: false, type: 'select',mode: ['create'], group: gettext('Definition'),
readonly: function (state) { return !obj.isNew(state); },
options: [{
label: gettext('icu'),
@ -111,7 +111,7 @@ export default class CollationSchema extends BaseUISchema {
},
{
id: 'provider', label: gettext('Locale Provider'),
type: 'text',mode: ['properties'], group: gettext('Definition'),
type: 'text',mode: ['properties', 'edit'], group: gettext('Definition'),
readonly: true,
min_version: 110000,
},