I'm a full-stack web developer that specializes in the Laravel framework.
Tools, languages, and other things that I like to work with.
Profile & MFA starter kit for filament.
Home Page: https://randallwilk.dev/docs/profile-filament-plugin
License: MIT License
v0.3.2
v10.46.0
Svg by name "pf-passkey" from set "default" not found.
The custom Blade icons set that the package registers does not exist when it comes to resolving the icon. For now my workaround is to register the default set per the blade icons config and place a duplicate of pf-passkey.svg
in my own /resources/svg
folder.
Install package as per instructions.
No response
v0.2.1
v10.10
Issue Description:
I encountered a minor bug while utilizing the delete function in my project. The specific issue arises with the label handling, where appending **?? '**'
was necessary to avoid an error.
Error Log:
The following error was logged:
local.ERROR: Attempt to read property "email" on null {"view":{"view":"/Users/xxxxx/vendor/filament/forms/resources/views/components/field-wrapper/index.blade.php","data":[]},"exception":"[object] (Spatie\LaravelIgnition\Exceptions\ViewException(code: 0): Attempt to read property "email" on null at /Users/xxxxx/vendor/rawilk/profile-filament-plugin/src/Livewire/DeleteAccount.php:61)
Affected Code:
Here is the snippet of code where the issue occurs:
protected function getEmailInput(): Component
{
return TextInput::make('email')
/** @phpstan-ignore-next-line */
->label(fn () => __('profile-filament::pages/settings.delete_account.actions.delete.email_label', ['email' => Filament::auth()->user()->email **?? '**']))
->required()
->email()
->rules([
fn (): Closure => function (string $attribute, $value, Closure $fail) {
/** @phpstan-ignore-next-line */
if (Str::lower($value) !== Str::lower(Filament::auth()->user()->email)) {
$fail(__('profile-filament::pages/settings.delete_account.actions.delete.incorrect_email'));
},
]);
}
Initial Setup:
Navigate to the Relevant Section:
Trigger the Delete Function:
Observe the Error:
Attempt to read property "email" on null
.Check the Error Log:
local.ERROR: Attempt to read property "email" on null ...
Review the Code:
getEmailInput()
method.Attempt a Workaround:
**?? '**'
to the label as a temporary fix and observe if the error persists.local.ERROR: Attempt to read property "email" on null ...
v0.3.2
v10.46
Adding a passkey fails in a panel other than the default one. This is because a 403 occurs on the client side when fetching /sessions/webauthn/attestation-pk
. Somewhere in this flow I believe the 'current panel' is resolved, erroneously returning the default one which in my instance the user does not have access to.****
As above.
No response
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.