A Yii2 widget for manage lists of input spinner with extra text field.
This widget is responsive (theme Bootstrap) and easy to use.
The preferred way to install this extension is through composer.
composer require --prefer-dist armrck/yii2-touchspin "*"
to the require section of your
Once the extension is installed, simply use it in your code by :
'model' => $model, 'attribute1' => 'item', // Attribute 1 in your Model 'attribute2' => 'item_qtd_aluno', // Attribute 2 in your Model 'items' => ArrayHelper::toArray($model->alunoExpectativaItens) // Array ]); = TouchSpin::widget([
An example would be very useful, as explanation of the attributes and items.
If you have any questions, please ask in the forum instead.
Signup or Login in order to comment.