PHP code example of rawilk / filament-password-input
1. Go to this page and download the library: Download rawilk/filament-password-input library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
rawilk / filament-password-input example snippets
use Rawilk\FilamentPasswordInput\Password;
use Filament\Forms\Form;
public function form(Form $form): Form
{
return $form
->schema([
// ...
Password::make('password')
->label('Password'),
]);
}
use Rawilk\FilamentPasswordInput\Password;
use Filament\Forms\Form;
public function form(Form $form): Form
{
return $form
->schema([
// ...
Password::make('password')
->label('Password')
->revealable(false),
]);
}