owl/password

This package is abandoned and no longer maintained. No replacement package was suggested.

Password widget for OctoberCMS.

dev-master / 1.0.x-dev 2015-04-02 07:38 UTC

This package is auto-updated.

Last update: 2021-09-27 12:24:13 UTC


README

Uses hideShowPassword to mask input values on element blur.

Packagist

Installation

To install the Password widget with your plugin, add the following to your plugin's composer.json file.

"require": {
    "owl/password": "~1.0@dev"
}

Next, register the widget in your plugin's Plugin.php file.

public function registerFormWidgets()
{
    return [
        'Owl\FormWidgets\Password\Widget' => [
            'label' => 'Password',
            'code'  => 'owl-password'
        ],
    ];
}

Usage

To use the Password widget, simply declare a field type as owl-password

password:
    label: Password
    type: owl-password