fix default ActiveField::hintOptions

This commit is contained in:
Игорь Тарасов 2021-08-14 06:24:19 +05:00
parent b51e84b269
commit c4013bfde7

View File

@ -156,7 +156,7 @@ class ActiveField extends \yii\widgets\ActiveField
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */
public $hintOptions = ['class' => ['widget' => 'form-text', 'text-muted'], 'tag' => 'small']; public $hintOptions = ['class' => ['widget' => 'form-text', 'text-muted'], 'tag' => 'div'];
/** /**
* @var null|array CSS grid classes for horizontal layout. This must be an array with these keys: * @var null|array CSS grid classes for horizontal layout. This must be an array with these keys:
* - 'offset' the offset grid class to append to the wrapper if no label is rendered * - 'offset' the offset grid class to append to the wrapper if no label is rendered