mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 07:09:20 +01:00
18 lines
505 B
TypeScript
18 lines
505 B
TypeScript
import {Et2Description} from "../Et2Description/Et2Description";
|
|
|
|
/**
|
|
* A readonly textbox is just a description. You should use that instead, but here it is.
|
|
*/
|
|
export class Et2TextareaReadonly extends Et2Description
|
|
{
|
|
constructor()
|
|
{
|
|
super();
|
|
|
|
this.noLang = true; // never translation r/o textareas
|
|
}
|
|
}
|
|
|
|
// We can't bind the same class to a different tag
|
|
// @ts-ignore TypeScript is not recognizing that Et2Textbox is a LitElement
|
|
customElements.define("et2-textarea_ro", Et2TextareaReadonly); |