Skip to content

Commit

Permalink
make sure hidden field does noy occupy viewport space
Browse files Browse the repository at this point in the history
  • Loading branch information
pxpm committed Jun 12, 2024
1 parent bb4eddb commit 24c72dd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/app/Library/CrudPanel/Traits/FieldsProtectedMethods.php
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,9 @@ protected function makeSureSubfieldsHaveNecessaryAttributes($field)
$field['subfields'] = Arr::prepend($field['subfields'], [
'name' => $field['pivot_key_name'] ?? 'id',
'type' => 'hidden',
'wrapper' => [
'class' => 'd-none'
]
]);
}

Expand Down

0 comments on commit 24c72dd

Please sign in to comment.