revert changes to input elements
This commit is contained in:
committed by
Jacob Overgaard
parent
175b420033
commit
c9778aaca0
@@ -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(/[ ,]+/);
|
||||
}
|
||||
|
||||
@@ -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(/[ ,]+/);
|
||||
}
|
||||
|
||||
@@ -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(/[ ,]+/);
|
||||
}
|
||||
|
||||
@@ -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(/[ ,]+/);
|
||||
}
|
||||
|
||||
@@ -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(/[ ,]+/);
|
||||
}
|
||||
|
||||
@@ -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(/[ ,]+/);
|
||||
}
|
||||
|
||||
@@ -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(/[ ,]+/);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user