pmkevinrudd
pmkevinrudd
FFilament
Created by pmkevinrudd on 2/6/2024 in #❓┊help
BelongsTo select save issue
ye no im dumb, thanks 😄
18 replies
FFilament
Created by pmkevinrudd on 2/6/2024 in #❓┊help
BelongsTo select save issue
was messing with stuff to see if I was high or something and forgot to re-add that code but still bugged. I'll setup a reproduction repo to sanity check myself 😂
18 replies
FFilament
Created by pmkevinrudd on 2/6/2024 in #❓┊help
BelongsTo select save issue
public function category()
{
return $this->belongsTo(KnowledgeBaseCategory::class, 'knowledge_base_category_id');
}
public function category()
{
return $this->belongsTo(KnowledgeBaseCategory::class, 'knowledge_base_category_id');
}
still attempts to insert into category_id
18 replies
FFilament
Created by pmkevinrudd on 2/6/2024 in #❓┊help
BelongsTo select save issue
yeah code i pasted was wrong, still the same issue tho
18 replies
FFilament
Created by pmkevinrudd on 2/6/2024 in #❓┊help
BelongsTo select save issue
🤦‍♀️
18 replies
FFilament
Created by pmkevinrudd on 2/6/2024 in #❓┊help
BelongsTo select save issue
wait
18 replies
FFilament
Created by pmkevinrudd on 2/6/2024 in #❓┊help
BelongsTo select save issue
i already did
18 replies
FFilament
Created by pmkevinrudd on 2/6/2024 in #❓┊help
BelongsTo select save issue
you can override the fk with the second param of belongsTo
18 replies
FFilament
Created by pmkevinrudd on 2/6/2024 in #❓┊help
BelongsTo select save issue
the relationship is fine i think? article has a category, category can have many articles
18 replies
FFilament
Created by pmkevinrudd on 2/6/2024 in #❓┊help
BelongsTo select save issue
this all works if I modify the relationship name to knowledgeBaseCategory so defs something going on there
18 replies
FFilament
Created by pmkevinrudd on 2/6/2024 in #❓┊help
BelongsTo select save issue
No description
18 replies
FFilament
Created by pmkevinrudd on 2/6/2024 in #❓┊help
BelongsTo select save issue
I think whats happening is filament is failing to transform the relationship to the knowledge_base_category_id and is instead trying to use the relationship name and appending _id turning into category_id
18 replies
FFilament
Created by pmkevinrudd on 11/10/2023 in #❓┊help
Changing login redirect url
https://github.com/filamentphp/filament/blob/3.x/packages/panels/src/Http/Responses/Auth/LoginResponse.php copy this to your own code, change the URL inside intended(), add the code I posted above to the boot method of your appserviceprovider
9 replies
FFilament
Created by pmkevinrudd on 11/10/2023 in #❓┊help
Changing login redirect url
Think overriding the LoginResponse class works.
$this->app->bind(LoginResponseContract::class, LoginResponse::class);
$this->app->bind(LoginResponseContract::class, LoginResponse::class);
9 replies
FFilament
Created by pmkevinrudd on 10/17/2023 in #❓┊help
Column action documentation
ended up using $table->recordAction('View Video') ->recordUrl(null)
3 replies
FFilament
Created by pmkevinrudd on 9/6/2023 in #❓┊help
Refresh table from an echo event
sweet! makes sense then
11 replies
FFilament
Created by pmkevinrudd on 9/6/2023 in #❓┊help
Refresh table from an echo event
guess i havent read the docs thoroughly enough 😄
11 replies
FFilament
Created by pmkevinrudd on 9/6/2023 in #❓┊help
Refresh table from an echo event
ah true, is ListPage a full livewire component?
11 replies
FFilament
Created by pmkevinrudd on 9/6/2023 in #❓┊help
Refresh table from an echo event
v3
11 replies
FFilament
Created by pmkevinrudd on 9/6/2023 in #❓┊help
Refresh table from an echo event
ye
11 replies