add getters
This commit is contained in:
@@ -96,6 +96,9 @@ export class UmbInputDocumentElement extends FormControlMixin(UmbLitElement) {
|
||||
// Its with full purpose we don't call super.value, as thats being handled by the observation of the context selection.
|
||||
this.selectedIds = splitStringToArray(idsString);
|
||||
}
|
||||
public get value() {
|
||||
return this.selectedIds.join(',');
|
||||
}
|
||||
|
||||
@state()
|
||||
private _editDocumentPath = '';
|
||||
|
||||
@@ -96,6 +96,9 @@ export class UmbInputMediaElement extends FormControlMixin(UmbLitElement) {
|
||||
// Its with full purpose we don't call super.value, as thats being handled by the observation of the context selection.
|
||||
this.selectedIds = splitStringToArray(idsString);
|
||||
}
|
||||
public get value() {
|
||||
return this.selectedIds.join(',');
|
||||
}
|
||||
|
||||
@state()
|
||||
private _editMediaPath = '';
|
||||
|
||||
Reference in New Issue
Block a user