petersowah
petersowah
FFilament
Created by petersowah on 8/11/2023 in #❓┊help
Dehydrating fields not working.
Thanks @wychoong that helped a lot. I'm unblocked now. Thanks to @awcodes @pboivin too! I appreciate all the help on this one.
19 replies
FFilament
Created by petersowah on 8/11/2023 in #❓┊help
Dehydrating fields not working.
Thanks. I'll check it out. 🙏
19 replies
FFilament
Created by petersowah on 8/11/2023 in #❓┊help
Dehydrating fields not working.
This
$data = $this->form->getState();
$data = $this->form->getState();
throws an exception when it's called. I think it executes the query at some point. It's in the CreateRecord class
19 replies
FFilament
Created by petersowah on 8/11/2023 in #❓┊help
Dehydrating fields not working.
OK. Any idea at which point this query gets executed?
select count(*) as aggregate from `tours` where `day` = 1
select count(*) as aggregate from `tours` where `day` = 1
This is before the data gets saved to the database. There's no column day, hence why the error was thrown
19 replies
FFilament
Created by petersowah on 8/11/2023 in #❓┊help
Dehydrating fields not working.
I don' t want the data to be persisted to the database but someway somehow, I get a database exception about the dehydrated field.
19 replies
FFilament
Created by petersowah on 8/11/2023 in #❓┊help
Dehydrating fields not working.
Yes
19 replies
FFilament
Created by petersowah on 8/11/2023 in #❓┊help
Dehydrating fields not working.
Column not found: 1054 Unknown column 'day' in 'where clause'
Column not found: 1054 Unknown column 'day' in 'where clause'
The column day does not exist in the tours table. I use the data to construct a json object which is stored in a json column on tours. @pboivin
19 replies
FFilament
Created by petersowah on 8/11/2023 in #❓┊help
Dehydrating fields not working.
The fields are day and activity @pboivin
19 replies
FFilament
Created by petersowah on 8/8/2023 in #❓┊help
How do I modify the command for creating filament admins?
Awesome, thanks. Just wanted I needed.
6 replies
FFilament
Created by petersowah on 8/7/2023 in #❓┊help
How do I retrieve file upload urls stored in a another table?
Yeah, I want to render those urls. Thanks for sharing the resource. I'll check it out.
6 replies