Laravel Nova icon Nova Packages

Installation Instructions

composer require nalingia/nova-secret-field
use Nalingia\NovaSecretField\NovaSecretField;

//...

public function fields()
{
    return [
        NovaSecretField::make('Name'),
    ];
}

## Customise

The field ships with a copy-to-clipboard feature. By default, this feature is disabled but if you want to enable it, use `canCopyToClipboard` method on your instance.

```php
use Nalingia\NovaSecretField\NovaSecretField;

//...

public function fields()
{
    return [
        NovaSecretField::make('Name')
            ->canCopyToClipboard(),
    ];
}

Readme

Nova Secret Field

This package provides a custom secret field which can be toggled to see its value.

Latest Version on Packagist License

Installation

composer require nalingia/nova-secret-field

Usage

use Nalingia\NovaSecretField\NovaSecretField;

//...

public function fields()
{
    return [
        NovaSecretField::make('Name'),
    ];
}

Customise

The field ships with a copy-to-clipboard feature. By default, this feature is disabled but if you want to enable it, use canCopyToClipboard method on your instance.

use Nalingia\NovaSecretField\NovaSecretField;

//...

public function fields()
{
    return [
        NovaSecretField::make('Name')
            ->canCopyToClipboard(),
    ];
}

Screenshots

Reviews

Rated 5 stars out of 5

By Mike on May 5, 2020

Super simple package; minimalist configuration. The developer is super responsive and made this package even better! Thank you for giving this package to the community.

Back to Top
Added 5 years ago
Last updated 5 Years Ago
Version 1.1.0
Composer
nalingia/nova-secret-field
GitHub stars 2
Packagist downloads 90,686

Favorites

6 users favorited

Rating

5.00
(out of 5)
★★★★★
★★★★
★★★
★★
2 ratings

Tags

Brought to you by Tighten

Issues/Feature Requests Stats Package Ideas