add readonly prop

This commit is contained in:
Mads Rasmussen
2024-08-22 09:21:56 +02:00
parent 26f594332e
commit 0ffbf5b36a

View File

@@ -113,6 +113,15 @@ export class UmbPropertyEditorUIBlockListElement
}
}
/**
* Sets the input to readonly mode, meaning value cannot be changed but still able to read and select its content.
* @type {boolean}
* @attr
* @default false
*/
@property({ type: Boolean, reflect: true })
readonly = false;
@state()
private _limitMin?: number;
@state()