little correction

This commit is contained in:
Niels Lyngsø
2023-11-16 14:41:36 +01:00
parent 5b6c5fc864
commit 0f7c60f2b3
2 changed files with 2 additions and 2 deletions

View File

@@ -28,7 +28,7 @@ export class UmbInputDataTypeElement extends FormControlMixin(UmbLitElement) {
* @param {string} dataTypeId
* @default []
*/
@property({ attribute: false })
@property({ type: String, attribute: false })
get value(): string {
return super.value?.toString() ?? '';
}

View File

@@ -237,7 +237,7 @@ export class UmbPropertySettingsModalElement extends UmbModalBaseElement<
.value=${this._returnData.description}></uui-textarea>
</div>
<umb-data-type-flow-input
.value=${this._returnData.dataTypeId}
.value=${this._returnData.dataTypeId ?? ''}
@change=${this.#onDataTypeIdChange}></umb-data-type-flow-input>
<hr />
<div class="container">