Repeater Items: Disable already added items after form saved in edit mode

Hi guys, I can't find it in the documention. How can I disable editing of Repeater items after the form has been saved? I want the user only to be able to add & delete items after form save. Thanks
6 Replies
Patrick
PatrickOP7mo ago
Hey @Rotorbit69 , Thanks for your reply. This is sadly not working for my case, what I did now is to wrap all fields in a grid and disabled() the grid based on the created_at hidden field.
Adnan Yalahow
Adnan Yalahow7mo ago
->disabledOn('edit')
slamx_
slamx_7mo ago
Why you dont use a custom view to list existing Items and allow only new Items on your Edit form?
Patrick
PatrickOP7mo ago
Sorry guys I think I did not explained my issue well. And the title was misleading. I have a RelationManager in my Tenant view for Orders. In Order Modal I can add OrderItems. What I was looking for is that already added items are disabled (only deletable) in Edit mode. Thanks for your replies and sorry for the misleading question
Want results from more Discord servers?
Add your server