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),

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),
Was this page helpful?