Filament Confirm Password

 Menambahkan confim password pada inputan create user



TextInput::make('password')
	->label('Password')
	->password()
	->required()
    ->maxLength(255)
    ->revealable()
    ->dehydrateStateUsing(fn($state) => Hash::make($state))
    ->dehydrated(fn($state) => filled($state))
    ->required(fn(Page $livewire) => ($livewire instanceof CreateRecord)),
TextInput::make('password_confirmation')
	->password()
    ->dehydrateStateUsing(fn($state) => Hash::make($state))
    ->dehydrated(fn($state) => filled($state))
    ->required(fn(Page $livewire) => ($livewire instanceof CreateRecord))
    ->maxLength(255)
    ->same('password')
    ->label('Confirm Password')
    ->revealable(),

Komentar

Postingan populer dari blog ini

Setting modem flash dengan kartu Three ,Telkomsel ,XL,Im3

Membuat Replikasi atau Mirror database MySQL

Penerapan Normalisasi dan Implementasi ke Database SQL Server