feat: move labelKey field on the top datalayer form (#2350)

fix #2331
This commit is contained in:
Yohan Boniface 2024-12-11 17:49:24 +01:00 committed by GitHub
commit 80ff4ed899
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -626,6 +626,7 @@ export class DataLayer extends ServerStored {
'options.type',
{ handler: 'LayerTypeChooser', label: translate('Type of layer') },
],
'options.labelKey',
[
'options.displayOnLoad',
{ label: translate('Display on load'), handler: 'Switch' },
@ -698,7 +699,6 @@ export class DataLayer extends ServerStored {
'options.zoomTo',
'options.fromZoom',
'options.toZoom',
'options.labelKey',
]
builder = new U.FormBuilder(this, optionsFields, {