2017 © Pedro Peláez
 

yii2-extension yii2-passfield

A password field widget for Yii2 that allows you to display/hide input characters

image

nsept/yii2-passfield

A password field widget for Yii2 that allows you to display/hide input characters

  • Wednesday, March 9, 2016
  • by nsept
  • Repository
  • 1 Watchers
  • 1 Stars
  • 144 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 7 % Grown

The README.md

Yii2-passfield

A password field widget for Yii2 that allows you to display/hide input characters, (*1)

Installation

Either run, (*2)

composer require nsept/yii2-passfield "*"

or add, (*3)

"nsept/yii2-passfield": "*"

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

Usage

<?= \nsept\passfield\PassfieldWidget::widget([
    'form'      => $form,
    'model'     => $model,
    'attribute' => 'password',
    'pluginOptions' => [
        // Custom icons
        'iconShow' => '<i class="fa fa-eye"></i>',
        'iconHide' => '<i class="fa fa-eye-slash"></i>',
        // Custom titles
        'titleShow' => 'Show',
        'titleHide' => 'Hide'
    ]
]) ?>

The Versions

09/03 2016

dev-master

9999999-dev

A password field widget for Yii2 that allows you to display/hide input characters

  Sources   Download

MIT

The Requires

 

by Avatar nsept

extension yii2 form password widget field input

09/03 2016

1.0.0

1.0.0.0

A password field widget for Yii2 that allows you to display/hide input characters

  Sources   Download

MIT

The Requires

 

by Avatar nsept

extension yii2 form password widget field input