I'm trying to make a form in yii2 accept big numbers like currency . I want the number to be seperated for example 10000000 seems like that 10.000.000 . I search and find that there is something called auto numiric I use it but I got this error
<?=$form->field($model, 'num')->widget(\extead\autonumeric\AutoNumeric::classname(), [
'pluginOptions' => [
'aSep' => ' ',
'mDec' => 0
]
]);?>
Not instantiable – yii\di\NotInstantiableException
Failed to instantiate component or class "yii\bootstrap\BootstrapAsset".
↵
Caused by: ReflectionException
Class yii\bootstrap\BootstrapAsset does not exist
in E:\xam\htdocs\basic\vendor\yiisoft\yii2\di\Container.php at line 507
if I diddn't use auto numiric
<?= $form->field($model,'num')?>
the error disappear can any body help ????