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
slamx_
slamx_17mo ago
You can set up like this for example: $elm = Section::make('Heading') ->schema([ // ... ]); if($is_coll){ $elm->collapsed(); }
Want results from more Discord servers?
Add your server