never translate readonly textbox or textarea

This commit is contained in:
ralf 2024-07-31 20:17:26 +02:00
parent 43d8642347
commit c702674401
2 changed files with 11 additions and 0 deletions

View File

@ -5,6 +5,12 @@ import {Et2Description} from "../Et2Description/Et2Description";
*/ */
export class Et2TextareaReadonly extends Et2Description 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 // We can't bind the same class to a different tag

View File

@ -16,6 +16,11 @@ import {Et2Description} from "../Et2Description/Et2Description";
*/ */
export class Et2TextboxReadonly extends Et2Description export class Et2TextboxReadonly extends Et2Description
{ {
constructor()
{
super();
this.noLang = true; // never translation r/o textboxes
}
} }
// We can't bind the same class to a different tag // We can't bind the same class to a different tag