Skip to content

Commit a567c9f

Browse files
author
John Wesely
committed
sortable questions, feature parity with filament-survey
1 parent df20f2e commit a567c9f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Filament/Resources/FilamentFormResource/RelationManagers/FilamentFormFieldsRelationManager.php

+4
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,12 @@ public function table(Table $table): Table
6161
return $table
6262
->recordTitleAttribute('label')
6363
->heading(config('filament-form-builder.admin-panel-filament-form-field-name-plural'))
64+
->reorderable('order')
6465
->columns([
6566
TextColumn::make('label'),
67+
TextColumn::make('order')
68+
->numeric()
69+
->sortable(),
6670
TextColumn::make('type')
6771
->formatStateUsing(function ($record) {
6872
return $record->type->fieldName();

0 commit comments

Comments
 (0)