Skip to content

A platform for community discussion. Free, open, simple.

FIX: label helpers on sign up form are not hidden (#8603)

Krzysztof Kotlarekb47b1d8af825
diff --git a/app/assets/javascripts/discourse/components/input-tip.js.es6 b/app/assets/javascripts/discourse/components/input-tip.js.es6
index 1a12d8ebc0e..b48a5df8cf7 100644
--- a/app/assets/javascripts/discourse/components/input-tip.js.es6
+++ b/app/assets/javascripts/discourse/components/input-tip.js.es6
@@ -4,7 +4,6 @@ import { iconHTML } from "discourse-common/lib/icon-library";
export default Component.extend({
classNameBindings: [":tip", "good", "bad"],
- rerenderTriggers: ["validation"],
tipIcon: null,
tipReason: null,
diff --git a/app/assets/javascripts/discourse/templates/components/input-tip.hbs b/app/assets/javascripts/discourse/templates/components/input-tip.hbs
index ade54357b51..60c2336dfcb 100644
--- a/app/assets/javascripts/discourse/templates/components/input-tip.hbs
+++ b/app/assets/javascripts/discourse/templates/components/input-tip.hbs
@@ -1 +1,3 @@
-{{tipIcon}} {{tipReason}}
+{{#if tipReason}}
+ {{tipIcon}} {{tipReason}}
+{{/if}}