© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
8 replies
Becker Maxime

text input relationShip

Hello, I can't get my quote via the form.
 public static function form(Form $form): Form
    {
        return $form
            ->schema([
                Forms\Components\Group::make()
                    ->schema([
                        Forms\Components\Section::make(__('quote-resource.section.client_information'))
                            ->schema([
                                Forms\Components\TextInput::make('quote.name')
                                    ->label(__('quote-resource.field.name'))
                                    ->required()
                                    ->maxLength(255),
 public static function form(Form $form): Form
    {
        return $form
            ->schema([
                Forms\Components\Group::make()
                    ->schema([
                        Forms\Components\Section::make(__('quote-resource.section.client_information'))
                            ->schema([
                                Forms\Components\TextInput::make('quote.name')
                                    ->label(__('quote-resource.field.name'))
                                    ->required()
                                    ->maxLength(255),

I'm in my resource, I don't understand why I can't get my quote since it works in my table.
Solution
 public static function form(Form $form): Form
    {
        return $form
            ->schema([
                Forms\Components\Group::make()
                    ->schema([
                        Forms\Components\Section::make(__('quote-resource.section.client_information'))
->relationship('quote')
                            ->schema([
                                Forms\Components\TextInput::make('name')
                                    ->label(__('quote-resource.field.name'))
                                    ->required()
                                    ->maxLength(255),
 public static function form(Form $form): Form
    {
        return $form
            ->schema([
                Forms\Components\Group::make()
                    ->schema([
                        Forms\Components\Section::make(__('quote-resource.section.client_information'))
->relationship('quote')
                            ->schema([
                                Forms\Components\TextInput::make('name')
                                    ->label(__('quote-resource.field.name'))
                                    ->required()
                                    ->maxLength(255),
Jump to solution
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

text input
FilamentFFilament / ❓┊help
2y ago
text input
FilamentFFilament / ❓┊help
3y ago
Disable text input
FilamentFFilament / ❓┊help
2y ago