mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:20 +01:00
Implement readonly textarea as description
This commit is contained in:
parent
606e2688d4
commit
f43b641127
12
api/js/etemplate/Et2Textarea/Et2TextareaReadonly.ts
Normal file
12
api/js/etemplate/Et2Textarea/Et2TextareaReadonly.ts
Normal file
@ -0,0 +1,12 @@
|
||||
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
|
||||
{
|
||||
}
|
||||
|
||||
// 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);
|
@ -80,6 +80,7 @@ import './Et2Select/Tag/Et2ThumbnailTag';
|
||||
import './Et2Spinner/Et2Spinner';
|
||||
import './Et2Switch/Et2Switch';
|
||||
import './Et2Textarea/Et2Textarea';
|
||||
import './Et2Textarea/Et2TextareaReadonly';
|
||||
import './Et2Textbox/Et2Textbox';
|
||||
import './Et2Textbox/Et2TextboxReadonly';
|
||||
import './Et2Textbox/Et2Number';
|
||||
|
Loading…
Reference in New Issue
Block a user