kartik-v / yii2-builder

Build forms (single or tabular) easily for Yii Framework 2.0.
http://demos.krajee.com/builder
Other
100 stars 50 forks source link

Hidden input rendering #126

Closed SamMousa closed 7 years ago

SamMousa commented 7 years ago

Hidden input should not render anything except the hidden input. Currently things like label and several wrapper containers are rendered.

The purpose of rendering a hidden field is to pass information without showing anything to the user.

Currently there is no use case for the "support" for hidden inputs. They don't render an input but they do mess up your layout.

The only alternative is to render the hidden inputs manually.

Proposed solution: When the input type is hidden:

kartik-v commented 7 years ago

Resolved via update to release v1.6.3.