Open simonihmig opened 10 years ago
@asaf just wanted to bump this / confirm that this actually is a general bug, as this issue is open for a long time already and renders the horizontal layout suboptimal at best.
@BenjaminWinter Hey, I didn't give it so much attention because it seems like something that has not much effect on anything,
I'll assign it to next ver.
Current workaround for me is
form .help-block:empty {
display: none;
}
A span with class "help-block" is rendered even if there is no helpText (error messages) available.
This is not visible in a vertical form, but in a horizontal one this increases the distance to the following form. See the following screenshot taken from http://ember-addons.github.io/ember-forms/#/overview:![image](https://cloud.githubusercontent.com/assets/1325249/3340474/b84ff6e6-f87d-11e3-9b20-ab0716e7c0e8.png)
This can easily be reproduced: fill in something valid in the full name field, focus out of the field: the field turns green (has-success class), which is ok, but the distance to the password field is increased by the (empty) help-block!
It should not render a help-block, if it is empty anyway!