Closed JustinPierce closed 10 years ago
what form type is it? Does not look like horizontal... Also, what effect does it have if label text is not shown and required star is hidden as well?
It's a plain old form: @using (var form = Html.Bootstrap().Begin(new Form()))
The required star isn't 100% hidden. Because its style is visible: hidden
(as opposed to display: none
), it still takes up space in the layout. That's the only reason I noticed it.
the reason I used visible: hidden
instead of display: none
is so that right aligned labels still look aligned even if some fields are required and others are not. Though I see how this star is not needed there at all if label text is empty. I'll make necessary updates this evening.
should be fixed. Please check.
This appears to be fixed. Thanks!
I have the following markup:
BMVC is rendering an extra label inside of the form group HTML, before the first button:
This behavior appears to have started with version 3.5.4.