© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
6 replies
Xavi

Set select options edit

How can i set selected options on edit form with this field

Select::make('link_types')
  ->label(__('Tipos de enlaces'))
  ->helperText(__('Tipos de enlaces que permites en tus artículos'))
  ->required()
  ->multiple()
  ->options([
      'Follow' => 'follow',
      'NoFollow' => 'NoFollow',
      'Sponsored' => 'Sponsored',
  ])
Select::make('link_types')
  ->label(__('Tipos de enlaces'))
  ->helperText(__('Tipos de enlaces que permites en tus artículos'))
  ->required()
  ->multiple()
  ->options([
      'Follow' => 'follow',
      'NoFollow' => 'NoFollow',
      'Sponsored' => 'Sponsored',
  ])

if this options are on a table called 'options' and it depends on three table fields: links_follow, links_nofollow and links_sponsored that are boolean fields

Thanks alot
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

Edit on a form Select with options
FilamentFFilament / ❓┊help
3y ago
select options
FilamentFFilament / ❓┊help
3y ago
Select Options
FilamentFFilament / ❓┊help
3y ago
Hiding multi-select options but only on edit - using relationships
FilamentFFilament / ❓┊help
3y ago