<?= $form->field($model, 'subject')->widget(\yii\widgets\MaskedInput::className(), [
'mask' => '999-999-9999',
]) ?>
<?= $form->field($model, 'phone')->widget(\yii\widgets\MaskedInput::className(), [
'mask' => '999-999-9999',
]) ?>
<?= $form->field($model, 'phone')->widget(MaskedInput::className(), [
'mask' => '+7 (999) 999-99-99',
'options' => [
'class' => 'form-control',
'id' => 'phone1',
'placeholder' => ('Контактный телефон')
],
'clientOptions' => [
'clearIncomplete' => true
]
])->label(false) ?>
<?= $form->field($model, 'phone')->widget(MaskedInput::className(), [
'mask' => '+7 (999) 999-99-99',
'options' => [
'class' => 'form-control',
'id' => 'phone2',
'placeholder' => ('Контактный телефон')
],
'clientOptions' => [
'clearIncomplete' => true
]
])->label(false) ?>
<?= $form->field($model, 'phone')->widget(MaskedInput::className(), [
'mask' => '+7 (999) 999-99-99',
'options' => [
'class' => 'form-control',
'id' => 'phone3',
'placeholder' => ('Контактный телефон')
],
'clientOptions' => [
'clearIncomplete' => true
]
])->label(false) ?>