F
Filament13mo 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
DanielvdSpoel13mo ago
You can use the ->hidden function and check which page your on
yeonjih
yeonjih13mo ago
Sorry, I'm newbie in filament. can you elaborate more regarding in ->hidden ?
awcodes
awcodes13mo ago
Repeater::make()->hiddenOn(‘create’) Or Repeater::make()->hidden(fn($context) => $context === ‘create’)
yeonjih
yeonjih13mo ago
Thank you 🙂 I will try on this
Want results from more Discord servers?
Add your server