Skip to content

Commit 205ee9d

Browse files
authored
Merge pull request #1259 from umbraco/chore/jit-14.0.0--preview007-fixes
Fixes for `14.0.0--preview007` release
2 parents a3e629c + fe16631 commit 205ee9d

File tree

5 files changed

+11
-7
lines changed

5 files changed

+11
-7
lines changed

src/packages/core/components/multiple-color-picker-input/multiple-color-picker-input.element.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ export class UmbMultipleColorPickerInputElement extends FormControlMixin(UmbLitE
3939
const oldValue = this._items;
4040
this._items = model;
4141
this.requestUpdate('_items', oldValue);
42+
this.dispatchEvent(new UmbChangeEvent());
4243
},
4344
});
4445

src/packages/core/property-editor/schemas/Umbraco.Dropdown.Flexible.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ export const manifest: ManifestPropertyEditorSchema = {
66
name: 'Dropdown',
77
alias: 'Umbraco.DropDown.Flexible',
88
meta: {
9-
defaultPropertyEditorUiAlias: 'Umb.PropertyEditorUi.DropDown',
9+
defaultPropertyEditorUiAlias: 'Umb.PropertyEditorUi.Dropdown',
1010
},
1111
};

src/packages/core/property-editor/uis/color-swatches-editor/property-editor-ui-color-swatches-editor.element.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,10 @@ export class UmbPropertyEditorUIColorSwatchesEditorElement extends UmbLitElement
2121
@property({ attribute: false })
2222
public set config(config: UmbPropertyEditorConfigCollection | undefined) {
2323
this._showLabels = config?.getValueByAlias('useLabel') ?? this.#defaultShowLabels;
24-
this.value = config?.getValueByAlias('items') ?? [];
24+
const items = config?.getValueByAlias('items') as typeof this.value;
25+
if (items) {
26+
this.value = items;
27+
}
2528
}
2629

2730
#onChange(event: CustomEvent) {
@@ -32,7 +35,7 @@ export class UmbPropertyEditorUIColorSwatchesEditorElement extends UmbLitElement
3235
render() {
3336
return html`<umb-multiple-color-picker-input
3437
?showLabels=${this._showLabels}
35-
.items="${this.value ?? []}"
38+
.items="${this.value}"
3639
@change=${this.#onChange}></umb-multiple-color-picker-input>`;
3740
}
3841
}

src/packages/core/property-editor/uis/text-box/manifests.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import type { ManifestPropertyEditorUi } from '@umbraco-cms/backoffice/extension
44
const inputTypeConfig = {
55
alias: 'inputType',
66
label: 'Input type',
7-
description: 'Select input type',
8-
propertyEditorUiAlias: 'Umb.PropertyEditorUi.Dropdown',
7+
description: 'Predefined input type',
8+
propertyEditorUiAlias: 'Umb.PropertyEditorUi.Label',
99
};
1010

1111
export const manifests: Array<ManifestPropertyEditorUi> = [

src/packages/media/media/section-view/media-section-view.element.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ export class UmbMediaSectionViewElement extends UmbLitElement {
1414
// TODO: [LK] Work-in-progress. Need to get the data-type configuration for the Media Collection.
1515
const config = {
1616
unique: '',
17-
dataTypeId: 'dt-collectionView',
17+
dataTypeId: '', //'3a0156c4-3b8c-4803-bdc1-6871faa83fff', //'dt-collectionView',
1818
allowedEntityBulkActions: {
1919
allowBulkCopy: true,
2020
allowBulkDelete: true,
2121
allowBulkMove: true,
2222
allowBulkPublish: false,
2323
allowBulkUnpublish: false,
2424
},
25-
orderBy: 'entityName',
25+
orderBy: 'updateDate',
2626
orderDirection: 'asc',
2727
pageSize: 50,
2828
useInfiniteEditor: false,

0 commit comments

Comments
 (0)