mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-26 06:15:19 +08:00
fixed example with wrong namespace at 'yii2/framework/widgets/MaskedInput.php' documentation
This commit is contained in:
@ -33,7 +33,7 @@ use yii\web\View;
|
||||
* method, for example like this:
|
||||
*
|
||||
* ```php
|
||||
* <?= $form->field($model, 'from_date')->widget(\yii\jui\MaskedInput::classname(), [
|
||||
* <?= $form->field($model, 'from_date')->widget(\yii\widgets\MaskedInput::classname(), [
|
||||
* 'mask' => '999-999-9999',
|
||||
* ]) ?>
|
||||
* ```
|
||||
|
Reference in New Issue
Block a user