yii2-builder
yii2-builder copied to clipboard
Suggestion: sub-attribute label rendering improvements
In Form Builder, when rendering sub-attributes, allow for greater control over labels.
-
Allow to completely disable labels. Currently even when we set the
'label'
setting tofalse
/null
/''
the label container will still render which adds an empty vertical margin to the nested group. It should probably follow the ActiveForm'showLabels'
setting, which is currently ignored. -
Provide a way to automatically acquire labels from the model's
getAttributeLabel()
method. Currently we need to manually do this for each attribute in the nested group.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.