© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
4 replies
Eagle

how to create two filament resource that corresponds to one model?

I have this table named taxonomies with following fields.
$table->id();
$table->string('name');
$table->string('type_of');
$table->id();
$table->string('name');
$table->string('type_of');

I have already a filament resource named
TaxonomyResource 
TaxonomyResource 
in which the input field for
type_of 
type_of 
looks like following.
Forms\Components\Select::make('type_of')
    ->label('Type')
    ->required()
    ->options([
        'category' => 'Category',
        'tag' => 'Tag',
    ]),
Forms\Components\Select::make('type_of')
    ->label('Type')
    ->required()
    ->options([
        'category' => 'Category',
        'tag' => 'Tag',
    ]),

Now, I want to create a feature for creating those
type_of
type_of
values. I don't want make a different table for types. I am asked to use the same model and create a new resource for creating the types. I have not found any solution. So, what should I do? How should I proceed?
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Two Resource One Model
FilamentFFilament / ❓┊help
3y ago
Combine two databases to one resource
FilamentFFilament / ❓┊help
3y ago
Two list sfor one resource
FilamentFFilament / ❓┊help
15mo ago
Two repeaters in one resource?
FilamentFFilament / ❓┊help
3y ago