Repeater defaultItems

Can repeater defaultItems use the reactive $get closure?
8 Replies
โ„ฌโ„ด๐’ฟ๐’ฟ๐’พ
nothing happened
krekas
krekasโ€ข15mo ago
You set default to 1 so not even that is added?
โ„ฌโ„ด๐’ฟ๐’ฟ๐’พ
but if the file is not empty, i setted it to the $file->count()
krekas
krekasโ€ข15mo 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
โ„ฌโ„ด๐’ฟ๐’ฟ๐’พ
i tried dd() but nothing happened you might ignore it
krekas
krekasโ€ข15mo ago
does you file field has live()?
โ„ฌโ„ด๐’ฟ๐’ฟ๐’พ
i use reactive(), it is v2
Want results from more Discord servers?
Add your server