Repeater defaultItems

Can repeater defaultItems use the reactive $get closure?
8 Replies
wondertac
wondertacOP2y ago
No description
wondertac
wondertacOP2y ago
nothing happened
krekas
krekas2y ago
You set default to 1 so not even that is added?
wondertac
wondertacOP2y ago
but if the file is not empty, i setted it to the $file->count()
krekas
krekas2y ago
dd your $get() to see if it has value also i don't understand why you do map here? when you just return count from the $file
wondertac
wondertacOP2y ago
i tried dd() but nothing happened you might ignore it
krekas
krekas2y ago
does you file field has live()?
wondertac
wondertacOP2y ago
i use reactive(), it is v2

Did you find this page helpful?