Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Powered by Mintlify
Auto-generate your docs
use Filament\Forms\Components\Radio; Radio::make('status') ->options([ 'draft' => 'Draft', 'scheduled' => 'Scheduled', 'published' => 'Published', ])
Radio::make('status') ->options([ 'draft' => 'Draft', 'published' => 'Published', ])
Radio::make('status') ->options([ 'draft' => 'Draft', 'published' => 'Published', ]) ->descriptions([ 'draft' => 'Not visible to users', 'published' => 'Visible to everyone', ])
Radio::make('feedback') ->boolean() ->inline()
Radio::make('feedback') ->label('Like this post?') ->boolean() // Customize labels Radio::make('feedback') ->boolean( trueLabel: 'Absolutely!', falseLabel: 'Not at all!' )
Radio::make('status') ->options([ 'draft' => 'Draft', 'published' => 'Published', ]) ->disableOptionWhen(fn (string $value): bool => $value === 'published')
Radio::make('status') ->options([ 'active' => 'Active', 'inactive' => 'Inactive', ]) ->required()
Radio::make('plan') ->options([ 'basic' => 'Basic', 'premium' => 'Premium', 'enterprise' => 'Enterprise', ]) ->descriptions([ 'basic' => '$9/month - Perfect for individuals', 'premium' => '$29/month - Great for small teams', 'enterprise' => '$99/month - For large organizations', ]) ->required()
Radio::make('newsletter_subscription') ->label('Subscribe to our newsletter?') ->boolean() ->inline()
Radio::make('size') ->options([ 'sm' => 'Small', 'md' => 'Medium', 'lg' => 'Large', 'xl' => 'Extra Large', ]) ->inline()