Api: Don't try to translate URLs

Also sub-classes email, phone, etc.
This commit is contained in:
nathan 2024-02-02 09:24:12 -07:00
parent fa0cb4ff6f
commit 0ad14c3801

View File

@ -31,6 +31,9 @@ export class Et2UrlReadonly extends Et2Description
];
}
// Don't try to translate URLs (or sub-classes)
noLang = true;
transformAttributes(attrs)
{
if (typeof attrs.onclick === 'undefined')