From b3cdfd730d646c9e0df819db3483e1526c635d9a Mon Sep 17 00:00:00 2001 From: Patrick Smith Date: Tue, 8 Jan 2019 18:21:11 -0500 Subject: [PATCH] Don't show success/error icon on disabled fields --- templates/components/text_input.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/templates/components/text_input.html b/templates/components/text_input.html index 78b858b0..21a0839d 100644 --- a/templates/components/text_input.html +++ b/templates/components/text_input.html @@ -37,8 +37,10 @@ {{ description | safe }} {% endif %} - {{ Icon('alert',classes="icon-validation") }} - {{ Icon('ok',classes="icon-validation") }} + {% if not disabled %} + {{ Icon('alert',classes="icon-validation") }} + {{ Icon('ok',classes="icon-validation") }} + {% endif %}