diff --git a/src/Umbraco.Web.UI.Client/src/packages/core/property-editors/uis/multiple-text-string/input-multiple-text-string/input-multiple-text-string.element.ts b/src/Umbraco.Web.UI.Client/src/packages/core/property-editors/uis/multiple-text-string/input-multiple-text-string/input-multiple-text-string.element.ts index f9f9534836..ff1a20b94a 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/core/property-editors/uis/multiple-text-string/input-multiple-text-string/input-multiple-text-string.element.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/core/property-editors/uis/multiple-text-string/input-multiple-text-string/input-multiple-text-string.element.ts @@ -104,8 +104,8 @@ export class UmbInputMultipleTextStringElement extends FormControlMixin(UmbLitEl } public set items(items: MultipleTextStringValue) { // TODO: when we have a way to overwrite the missing value validator we can remove this - this.value = items.length > 0 ? 'some value' : ''; - this._items = items || []; + this.value = items?.length > 0 ? 'some value' : ''; + this._items = items ?? []; } // TODO: Some inputs might not have a value that is either FormDataEntryValue or FormData.