Add disabled to detached attributes

This commit is contained in:
nathan 2022-03-09 10:17:59 -07:00
parent 4d25d2ea8b
commit 944c0ad68e

View File

@ -71,9 +71,14 @@ export class Et2DateDurationReadonly extends Et2DateDuration
`; `;
} }
/**
* These are the attributes we allow to change for each row
*
* @param attrs
*/
getDetachedAttributes(attrs) getDetachedAttributes(attrs)
{ {
attrs.push("id", "value", "class"); attrs.push("id", "value", "class", "disabled");
} }
getDetachedNodes() : HTMLElement[] getDetachedNodes() : HTMLElement[]