Finn
Finn
FFilament
Created by Finn on 6/12/2024 in #❓┊help
Where does this modal come from in my Builder?
Nice! Thanks for helping and fixing! I will patiently wait for this PR to be merged 🙂
6 replies
FFilament
Created by Finn on 6/12/2024 in #❓┊help
Where does this modal come from in my Builder?
Hmm, yeah, that could be it.. I even tried forcing ->blockPreviews(false) but that didn't hide it either
6 replies
FFilament
Created by Finn on 4/20/2024 in #❓┊help
Best way to create a virtual/fake input?
Perfect, that does the job. Thanks :). I knew there would be a better way than stripping it of before filling 😛
3 replies
FFilament
Created by Finn on 4/14/2024 in #❓┊help
Let Filament decrypt database value in TextInput
This seems to be the solution, thanks for helping!
21 replies
FFilament
Created by Finn on 4/14/2024 in #❓┊help
Let Filament decrypt database value in TextInput
Adding this works:
->mutateRelationshipDataBeforeFillUsing(function (array $data) use ($form) {
$data['password'] = $form->getRecord()->websiteMailSetting->password;

return $data;
})
->mutateRelationshipDataBeforeFillUsing(function (array $data) use ($form) {
$data['password'] = $form->getRecord()->websiteMailSetting->password;

return $data;
})
21 replies
FFilament
Created by Finn on 4/14/2024 in #❓┊help
Let Filament decrypt database value in TextInput
That would work perfectly, although I am using a relationship field
Grid::make()
->relationship('websiteMailSetting')
->schema([
TextInput::make('password')
->label('Wachtwoord')
->required(),
]),
Grid::make()
->relationship('websiteMailSetting')
->schema([
TextInput::make('password')
->label('Wachtwoord')
->required(),
]),
Which does not resolve through that method
21 replies
FFilament
Created by Finn on 4/14/2024 in #❓┊help
Let Filament decrypt database value in TextInput
Added the Panel tag so other people who might face the same "issue" will stumble accross this. And thanks for the hydration tip, I will try something out with that ☑️ Thanks!
21 replies
FFilament
Created by Finn on 4/14/2024 in #❓┊help
Let Filament decrypt database value in TextInput
I am using it in Filament admin panel's form builder
21 replies
FFilament
Created by Finn on 4/14/2024 in #❓┊help
Let Filament decrypt database value in TextInput
Because I would still like to use the hidden on my model as it will also be used in other places rather than Filament 🤔
21 replies
FFilament
Created by Finn on 4/14/2024 in #❓┊help
Let Filament decrypt database value in TextInput
So i need to remove the hidden. Can't i unhide something for Filament?
21 replies
FFilament
Created by Finn on 4/14/2024 in #❓┊help
Let Filament decrypt database value in TextInput
Sometimes typing it out already tells you the answer 🙃
21 replies
FFilament
Created by Finn on 4/14/2024 in #❓┊help
Let Filament decrypt database value in TextInput
Ah.... 😅 typing this I realized the issue...
protected $hidden = [
'password',
];
protected $hidden = [
'password',
];
21 replies
FFilament
Created by Finn on 4/14/2024 in #❓┊help
Let Filament decrypt database value in TextInput
It doesnt fill the value at all in Filament.
21 replies
FFilament
Created by Finn on 4/14/2024 in #❓┊help
Let Filament decrypt database value in TextInput
Yes it does decrypt it with php artisan tinker
21 replies
FFilament
Created by Finn on 4/14/2024 in #❓┊help
Let Filament decrypt database value in TextInput
This is the TextInput:
TextInput::make('password')
->label('Wachtwoord')
->password()
->revealable()
->required(),
TextInput::make('password')
->label('Wachtwoord')
->password()
->revealable()
->required(),
and in my model:
protected $casts = [
'password' => 'encrypted',
];
protected $casts = [
'password' => 'encrypted',
];
21 replies
FFilament
Created by Finn on 9/20/2023 in #❓┊help
Disabled field through $set function not updating state
Thanks! Works :)
4 replies
FFilament
Created by Finn on 9/15/2023 in #❓┊help
Section of fields that I can re-use over multiple resources/custom pages
Thanks to both of you for answering! 🚀
6 replies
FFilament
Created by Finn on 9/15/2023 in #❓┊help
Section of fields that I can re-use over multiple resources/custom pages
Exactly what I am looking for!
6 replies
FFilament
Created by Finn on 8/16/2023 in #❓┊help
One record resource
Then I can save all pages in the ‘page’ table
21 replies
FFilament
Created by Finn on 8/16/2023 in #❓┊help
One record resource
As filament basically stores raw json data 🤔
21 replies