NikSpyratos
NikSpyratos
FFilament
Created by NikSpyratos on 2/22/2024 in #❓┊help
How do form fields with relationships work?
Thanks, I'll dive into that 👍
5 replies
FFilament
Created by NikSpyratos on 9/20/2023 in #❓┊help
Closure Validation: Get $get doesn't resolve correctly
I've decided it was simpler to refactor the UI ordering so that this field is auto-filled from the other value instead of doing this rule - saves a bit of user input. But still felt it's worth posting this in case anyone else runs into the issue.
11 replies
FFilament
Created by NikSpyratos on 9/20/2023 in #❓┊help
Closure Validation: Get $get doesn't resolve correctly
Nope, ../* and ../../* return null.
11 replies
FFilament
Created by NikSpyratos on 9/20/2023 in #❓┊help
Closure Validation: Get $get doesn't resolve correctly
as for array $state, I don't think that'll work, it errors saying it expects array but gets null instead. IIRC $state only gives the current field value no?
11 replies
FFilament
Created by NikSpyratos on 9/20/2023 in #❓┊help
Closure Validation: Get $get doesn't resolve correctly
No description
11 replies
FFilament
Created by NikSpyratos on 9/20/2023 in #❓┊help
Closure Validation: Get $get doesn't resolve correctly
No description
11 replies
FFilament
Created by NikSpyratos on 8/19/2023 in #❓┊help
How are input macros registered in V3?
Aaaah right, I moved Filament::serving incorrectly. ->bootUsing sounds neater with the new panel setup (assuming I don't need the macros everywhere), so I'll give that a go
4 replies
FFilament
Created by NikSpyratos on 7/3/2023 in #❓┊help
DateTimePicker on edit doesn't show value if using withoutSeconds but DB field is datetime
I think it may be a general conversion issue - modifying with formatStateUsing seems to work (screenshot above)
2 replies
FFilament
Created by NikSpyratos on 5/1/2023 in #❓┊help
Set table row limit in tests
Oof sorry for not getting back to this. Yeah the pagination size. Didn't see anything related to that in the methods available in a Livewire test of a ListResource class or relation manager.
4 replies
FFilament
Created by NikSpyratos on 4/8/2023 in #❓┊help
Vite assets / npm run build - loads new theme once, then only loads vendor theme
aaaaaaah PEBCAK of course. I had the theme register outside the Filament::serving block. Putting it inside it fixed the problem. Shouldn't try coding this stuff late at night 💤
6 replies
FFilament
Created by NikSpyratos on 4/8/2023 in #❓┊help
Vite assets / npm run build - loads new theme once, then only loads vendor theme
Filament::registerViteTheme('resources/css/filament.css');
6 replies
FFilament
Created by NikSpyratos on 4/8/2023 in #❓┊help
Vite assets / npm run build - loads new theme once, then only loads vendor theme
Gist containing my vite, tailwind and filament.css: https://gist.github.com/nikolaos-spyratos/874fb0c683199f1ca55c15927575f1e2
6 replies