Section Collapse
Section::make('Heading')
->schema([
// ...
])
->collapsed()
how to make section collapsed depended of varibel $is_collapsed
and update $is_collapsed value when collapsed change
1 Reply
You can set up like this for example:
$elm = Section::make('Heading')
->schema([
// ...
]);
if($is_coll){
$elm->collapsed();
}