From d1e7040011fdc618bf2420f3d64e6e69e5715649 Mon Sep 17 00:00:00 2001 From: nathan Date: Tue, 31 Oct 2023 09:01:27 -0600 Subject: [PATCH] Fix email tag always shows "not-allowed" cursor for read-only --- api/js/etemplate/Et2Select/Tag/Et2EmailTag.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/api/js/etemplate/Et2Select/Tag/Et2EmailTag.ts b/api/js/etemplate/Et2Select/Tag/Et2EmailTag.ts index fd97f5c776..5ec4b83778 100644 --- a/api/js/etemplate/Et2Select/Tag/Et2EmailTag.ts +++ b/api/js/etemplate/Et2Select/Tag/Et2EmailTag.ts @@ -57,6 +57,15 @@ export class Et2EmailTag extends Et2Tag .tag__remove { order: 3; } + + /* Shoelace disabled gives a not-allowed cursor, but we also set disabled for read-only. + * We don't want the not-allowed cursor, since you can always click the email address + */ + + :host([readonly]) { + cursor: pointer !important; + } + `]; }