From 944c0ad68e3792aa2202b191701a9d1bf3585a81 Mon Sep 17 00:00:00 2001 From: nathan Date: Wed, 9 Mar 2022 10:17:59 -0700 Subject: [PATCH] Add disabled to detached attributes --- api/js/etemplate/Et2Date/Et2DateDurationReadonly.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/api/js/etemplate/Et2Date/Et2DateDurationReadonly.ts b/api/js/etemplate/Et2Date/Et2DateDurationReadonly.ts index f662a963d0..fe0c2f3235 100644 --- a/api/js/etemplate/Et2Date/Et2DateDurationReadonly.ts +++ b/api/js/etemplate/Et2Date/Et2DateDurationReadonly.ts @@ -71,9 +71,14 @@ export class Et2DateDurationReadonly extends Et2DateDuration `; } + /** + * These are the attributes we allow to change for each row + * + * @param attrs + */ getDetachedAttributes(attrs) { - attrs.push("id", "value", "class"); + attrs.push("id", "value", "class", "disabled"); } getDetachedNodes() : HTMLElement[]