diff --git a/src/Umbraco.Web.UI.Client/src/packages/core/data-type/components/data-type-input/data-type-input.element.ts b/src/Umbraco.Web.UI.Client/src/packages/core/data-type/components/data-type-input/data-type-input.element.ts index c0b1b488ea..a67e9445b4 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/core/data-type/components/data-type-input/data-type-input.element.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/core/data-type/components/data-type-input/data-type-input.element.ts @@ -61,9 +61,6 @@ export class UmbDataTypeInputElement extends FormControlMixin(UmbLitElement) { @property() public set value(idsString: string) { - const isEmpty = idsString.trim().length === 0; - if (isEmpty) return; - // Its with full purpose we don't call super.value, as thats being handled by the observation of the context selection. this.selectedIds = idsString.split(/[ ,]+/); } diff --git a/src/Umbraco.Web.UI.Client/src/packages/documents/document-types/components/document-type-input/document-type-input.element.ts b/src/Umbraco.Web.UI.Client/src/packages/documents/document-types/components/document-type-input/document-type-input.element.ts index 96ba66d56e..440723d165 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/documents/document-types/components/document-type-input/document-type-input.element.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/documents/document-types/components/document-type-input/document-type-input.element.ts @@ -61,9 +61,6 @@ export class UmbDocumentTypeInputElement extends FormControlMixin(UmbLitElement) @property() public set value(idsString: string) { - const isEmpty = idsString.trim().length === 0; - if (isEmpty) return; - // Its with full purpose we don't call super.value, as thats being handled by the observation of the context selection. this.selectedIds = idsString.split(/[ ,]+/); } diff --git a/src/Umbraco.Web.UI.Client/src/packages/documents/documents/components/input-document/input-document.element.ts b/src/Umbraco.Web.UI.Client/src/packages/documents/documents/components/input-document/input-document.element.ts index 3ce96763ce..b4ab02b2ef 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/documents/documents/components/input-document/input-document.element.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/documents/documents/components/input-document/input-document.element.ts @@ -61,9 +61,6 @@ export class UmbInputDocumentElement extends FormControlMixin(UmbLitElement) { @property() public set value(idsString: string) { - const isEmpty = idsString.trim().length === 0; - if (isEmpty) return; - // Its with full purpose we don't call super.value, as thats being handled by the observation of the context selection. this.selectedIds = idsString.split(/[ ,]+/); } diff --git a/src/Umbraco.Web.UI.Client/src/packages/media/media-types/components/media-type-input/media-type-input.element.ts b/src/Umbraco.Web.UI.Client/src/packages/media/media-types/components/media-type-input/media-type-input.element.ts index 795232ba3e..1a3da5ed39 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/media/media-types/components/media-type-input/media-type-input.element.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/media/media-types/components/media-type-input/media-type-input.element.ts @@ -61,9 +61,6 @@ export class UmbMediaTypeInputElement extends FormControlMixin(UmbLitElement) { @property() public set value(idsString: string) { - const isEmpty = idsString.trim().length === 0; - if (isEmpty) return; - // Its with full purpose we don't call super.value, as thats being handled by the observation of the context selection. this.selectedIds = idsString.split(/[ ,]+/); } diff --git a/src/Umbraco.Web.UI.Client/src/packages/media/media/components/input-media/input-media.element.ts b/src/Umbraco.Web.UI.Client/src/packages/media/media/components/input-media/input-media.element.ts index 7be7372f3c..a1c4429132 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/media/media/components/input-media/input-media.element.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/media/media/components/input-media/input-media.element.ts @@ -61,9 +61,6 @@ export class UmbInputMediaElement extends FormControlMixin(UmbLitElement) { @property() public set value(idsString: string) { - const isEmpty = idsString.trim().length === 0; - if (isEmpty) return; - // Its with full purpose we don't call super.value, as thats being handled by the observation of the context selection. this.selectedIds = idsString.split(/[ ,]+/); } diff --git a/src/Umbraco.Web.UI.Client/src/packages/user/user-group/components/input-user-group/user-group-input.element.ts b/src/Umbraco.Web.UI.Client/src/packages/user/user-group/components/input-user-group/user-group-input.element.ts index 285977eab8..50aceb7305 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/user/user-group/components/input-user-group/user-group-input.element.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/user/user-group/components/input-user-group/user-group-input.element.ts @@ -61,9 +61,6 @@ export class UmbUserGroupInputElement extends FormControlMixin(UmbLitElement) { @property() public set value(idsString: string) { - const isEmpty = idsString.trim().length === 0; - if (isEmpty) return; - // Its with full purpose we don't call super.value, as thats being handled by the observation of the context selection. this.selectedIds = idsString.split(/[ ,]+/); } diff --git a/src/Umbraco.Web.UI.Client/src/packages/user/user/components/user-input/user-input.element.ts b/src/Umbraco.Web.UI.Client/src/packages/user/user/components/user-input/user-input.element.ts index 4756a82e6b..74d25d8799 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/user/user/components/user-input/user-input.element.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/user/user/components/user-input/user-input.element.ts @@ -61,9 +61,6 @@ export class UmbUserInputElement extends FormControlMixin(UmbLitElement) { @property() public set value(idsString: string) { - const isEmpty = idsString.trim().length === 0; - if (isEmpty) return; - // Its with full purpose we don't call super.value, as thats being handled by the observation of the context selection. this.selectedIds = idsString.split(/[ ,]+/); }