Skip to content

Inline Operation - Document if it requires 'fetch' operation also #489

@realtebo

Description

@realtebo

Page: https://backpackforlaravel.com/docs/6.x/crud-operation-inline-create

I am setting up field as

    CRUD::field([
            'name' => 'address',
            'inline_create' => true,
        ])
        ->type('relationship')
        ->label('Address')
        ->wrapper(['class' => 'form-group col-md-6'])
    ;

Note: i am omitting ajax

Anyway, this field is automatically a select 2 with ajax.

This need fetch operation, I think. Because opening the select2, an ajax call to a non-existent route ../fetch/... is fired

Please, document it, (or explain me what am I doing wrong).

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions