When setting the placeholder value with 'autoPlaceholder' set to true the placeholder value is overwritten by $model->getAttributeLabel(). Should use getAttributeLabel() as default instead.
// when autoPlaceholder set to true...
$this->formOptions['fieldConfig'] = ['autoPlaceholder' => true];
'phone' => [
'type'=> Form::INPUT_TEXT,
'options'=>[
// overwrites placeholder value...
'placeholder'=>Yii::t('common','Enter Phone...'),
'class'=>'form-control'
],
]
When setting the placeholder value with 'autoPlaceholder' set to true the placeholder value is overwritten by $model->getAttributeLabel(). Should use getAttributeLabel() as default instead.