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
Was this page helpful?