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\Schemas\Schema;
public function form(Schema $schema): Schema
{
return $schema
->components([
// ...
Password::make('password')
->label('Password'),
]);
}
use Rawilk\FilamentPasswordInput\Password;
use Filament\Schemas\Schema;
public function form(Schema $schema): Schema
{
return $schema
->components([
// ...
Password::make('password')
->label('Password')
->revealable(false),
]);
}