Commit 5a3471c4 authored by bbaer's avatar bbaer
Browse files

Finds error messages outside of input-group if input-group is used.

parent 20e16ec0
......@@ -44,7 +44,11 @@ QfqNS.Element = QfqNS.Element || {};
this.$formGroup = this.$findFormGroup($enclosedElement);
this.$element = this.$formGroup.find(elementSelector);
this.$label = this.$formGroup.find('.control-label');
this.$helpBlock = this.$formGroup.find(".help-block");
if (this.$formGroup.hasClass(".input-group")) {
this.$helpBlock = this.$formGroup.parent().find(".help-block");
} else {
this.$helpBlock = this.$formGroup.find(".help-block");
}
};
/**
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment