Files
data-collection-terminal/vendor/filament/forms/docs/04-layout/03-fieldset.md

675 B

title
title
Fieldset

import AutoScreenshot from "@components/AutoScreenshot.astro"

Overview

You may want to group fields into a Fieldset. Each fieldset has a label, a border, and a two-column grid by default:

use Filament\Forms\Components\Fieldset;

Fieldset::make('Label')
    ->schema([
        // ...
    ])

Using grid columns within a fieldset

You may use the columns() method to customize the grid within the fieldset:

use Filament\Forms\Components\Fieldset;

Fieldset::make('Label')
    ->schema([
        // ...
    ])
    ->columns(3)