-
Beta Was this translation helpful? Give feedback.
Answered by
crynobone
Feb 9, 2023
Replies: 2 comments
-
We have no plan to support Panel::make('Twost', collect([
somethingIsEnabled() ? Text::make('Whatever') : null,
Text::make('Content'),
])->values()->all()), |
Beta Was this translation helpful? Give feedback.
0 replies
-
In 4.22.0 you can do the following: Panel::make('Twost', [
$this->mergeWhen(somethingIsEnabled(), [
Text::make('Whatever'),
]),
Text::make('Content'),
]), |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
crynobone
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In 4.22.0 you can do the following: