2017 © Pedro Peláez
 

yii2-widget yii2-touch-spin

A Yii2 input widget extension for manage lists of input spinner with field text and field numeric.

image

armrck/yii2-touch-spin

A Yii2 input widget extension for manage lists of input spinner with field text and field numeric.

  • Tuesday, September 19, 2017
  • by armandoricky
  • Repository
  • 1 Watchers
  • 2 Stars
  • 22 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Yii2-TouchSpin

example, (*1)

A Yii2 input widget extension for manage lists of input spinner with field text and field numeric., (*2)

Installation

The preferred way to install this extension is through composer., (*3)

Either run, (*4)

composer require --prefer-dist armrck/yii2-touchspin "*"

or add, (*5)

"armrck/yii2-touchspin": "*"

to the require section of your composer.json file., (*6)

Usage

Once the extension is installed, simply use it in your code by :, (*7)

<?= TouchSpin::widget([
        'model' => $model, 
        'attribute1' => 'item', // Attribute 1 in your Model
        'attribute2' => 'item_qtd_aluno', // Attribute 2 in your Model
        'items' => ArrayHelper::toArray($model->alunoExpectativaItens) // Array
    ]);
?>

The Versions

19/09 2017

dev-master

9999999-dev

A Yii2 input widget extension for manage lists of input spinner with field text and field numeric.

  Sources   Download

BSD 3-Clause

The Requires

 

extension yii2 form widget spin input spin input spin list