Forms\Components\Section::make()
->schema([
Forms\Components\Select::make('client_id')
->relationship('client', 'name')
->label('Client')
->createOptionForm([
Forms\Components\Section::make('')
->schema([
Forms\Components\TextInput::make('name')
->label('Client Name')
->required()
->maxLength(255)
->columnSpan('full'),
Forms\Components\Section::make('group')
->schema([
Forms\Components\TextInput::make('name')
->label('Group Name')
->required()
->maxLength(255),
})
})
})
Forms\Components\Section::make()
->schema([
Forms\Components\Select::make('client_id')
->relationship('client', 'name')
->label('Client')
->createOptionForm([
Forms\Components\Section::make('')
->schema([
Forms\Components\TextInput::make('name')
->label('Client Name')
->required()
->maxLength(255)
->columnSpan('full'),
Forms\Components\Section::make('group')
->schema([
Forms\Components\TextInput::make('name')
->label('Group Name')
->required()
->maxLength(255),
})
})
})