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
DanielvdSpoel2y ago
You can use the ->hidden function and check which page your on
yeonjih
yeonjihOP2y ago
Sorry, I'm newbie in filament. can you elaborate more regarding in ->hidden ?
awcodes
awcodes2y ago
Repeater::make()->hiddenOn(‘create’) Or Repeater::make()->hidden(fn($context) => $context === ‘create’)
yeonjih
yeonjihOP2y ago
Thank you 🙂 I will try on this

Did you find this page helpful?