How I can convert the tabs in to free-form text-input.
I am able to insert the text area field in tabs as in the example code, but I want the whole tab to behave like a text page. I have seen this in other applications. How I can achieve this?
<?php
$tab2 = "This is the sample content of tab2";
echo Tabs::widget([
'items' => [
[
'label' => 'One',
'content' => $form->field($model, 'sample_text')->textArea(['label'=>false]),
'active' => true
],
[
'label' => 'Two',
'content' => $tab2,
//'headerOptions' => [...],
'options' => ['id' => 'myveryownID'],
],
],
]);
?>
Thanks.