owl / password
Password widget for OctoberCMS.
Installs: 53
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 3
Forks: 1
Open Issues: 0
pkg:composer/owl/password
Requires
- php: >=5.4.0
This package is auto-updated.
Last update: 2021-09-27 12:24:13 UTC
README
Uses hideShowPassword to mask input values on element blur.
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