forms - Hide label for input field -


i trying hide label specific field in _form.php without success.

i have tried couple of variation like, none working:

<?= $form->field($model, 'sample_text')->textarea('label'=>false) ?> 

and alternate code:

<?= $form->field($model, 'sample_text')->textarea('label'=>'') ?> 

what right approach hide label?

ok, found solution.

<?= $form->field($model, 'sample_text')->textarea()->label(false) ?> 

Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -