F
Filament17mo ago
yeonjih

Hide repeater when edit mode

Is there possible to hide the repeater when in edit mode or view mode. only table of the relation will appear.
4 Replies
DanielvdSpoel
DanielvdSpoel17mo ago
You can use the ->hidden function and check which page your on
yeonjih
yeonjihOP17mo ago
Sorry, I'm newbie in filament. can you elaborate more regarding in ->hidden ?
awcodes
awcodes17mo ago
Repeater::make()->hiddenOn(‘create’) Or Repeater::make()->hidden(fn($context) => $context === ‘create’)
yeonjih
yeonjihOP17mo ago
Thank you 🙂 I will try on this
Want results from more Discord servers?
Add your server