You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a label is empty, but not explicitly set false, the name is used instead for regular labels. However, when using the inline style, the name is not shown as placeholder. I think this is inconsistent.
The reason can be found in the fields definition (BraincraftedBootstrapBundle:Form:bootstrap.html.twig), line 39 (block form_widget_simple):
The label != false comparision is not true if label is empty (thus, the next line does not make sense). I think it would be correct to do it as in line 562 (block form_label):
{% iflabelis not sameas(false) %}
The text was updated successfully, but these errors were encountered:
When a label is empty, but not explicitly set
false
, thename
is used instead for regular labels. However, when using the inline style, thename
is not shown as placeholder. I think this is inconsistent.The reason can be found in the fields definition (BraincraftedBootstrapBundle:Form:bootstrap.html.twig), line 39 (
block form_widget_simple
):The
label != false
comparision is not true iflabel
is empty (thus, the next line does not make sense). I think it would be correct to do it as in line 562 (block form_label
):The text was updated successfully, but these errors were encountered: