Skip to content

relation chunk default to everything? #2270

Answered by tabuna
jrushworth asked this question in Q&A
Discussion options

You must be logged in to vote

If you need to show all the data at once, and not take it in parts, then it's best to use the Select field:

Select::make('organisation.district')
    ->title('District')
    ->fromModel(District::class, 'district_name')

The Relation field is specially made to load data in small portions for tables with very large records.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@vinod-digitalcubez
Comment options

Answer selected by jrushworth
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants