mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-29 16:44:44 +02:00
Set defaults
This commit is contained in:
parent
99693367d3
commit
a9a39ae502
@ -129,6 +129,7 @@ class EggResource extends Resource
|
|||||||
{
|
{
|
||||||
return $table
|
return $table
|
||||||
->searchable(false)
|
->searchable(false)
|
||||||
|
->defaultPaginationPageOption(25)
|
||||||
->columns([
|
->columns([
|
||||||
Tables\Columns\TextColumn::make('id')
|
Tables\Columns\TextColumn::make('id')
|
||||||
->label('Id')
|
->label('Id')
|
||||||
|
@ -127,6 +127,7 @@ class ServerResource extends Resource
|
|||||||
->columnSpanFull(),
|
->columnSpanFull(),
|
||||||
|
|
||||||
Forms\Components\Select::make('egg_id')
|
Forms\Components\Select::make('egg_id')
|
||||||
|
->disabledOn('edit')
|
||||||
->prefixIcon('tabler-egg')
|
->prefixIcon('tabler-egg')
|
||||||
->columnSpan(2)
|
->columnSpan(2)
|
||||||
->relationship('egg', 'name')
|
->relationship('egg', 'name')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user