LJ
FileUpload does not fully initialise in collapsed Form Repeater/Builder on edit
When using collapsed Repeater or Builder and when editing items, the FileUpload would not fully initialise.
I have 4 items in the repeater; The page loads with all these items collapsed. I expand random item - the image upload field is correctly initialised with image, delete button etc.
I then open second item - the image loads, but the Drag & Drop your files or Browse message is showing on top of the image and delete button prompts to upload a new file. When new file is uploaded - both newly uploaded and previously uploaded images get deleted.
This does not happen if Repeater is not collapsed by default.
Any ideas what trickery I could invoke to make the FileUpload reinit properly on expanding the repeater/builder section?
3 replies
disable reordering for item
Hello!
Using Tables Reordering
https://filamentphp.com/docs/3.x/tables/advanced#reordering-records
Is there any way to disable reordering for any particular item? Say, I do not want first item with order_level of 1 of being moved
2 replies