You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a pocketbase collection with "name", "image" and "order" fields. I'm trying to upload all the images with unique name and images using formdata at once.
here's some code:
`export default function AddPhotosAdmin({ photosDb }: PhotoDisplayProps) {
async function addPhotos(formData: FormData) {
'use server'
0
I have a pocketbase collection with "name", "image" and "order" fields. I'm trying to upload all the images with unique name and images using formdata at once.
here's some code:
`export default function AddPhotosAdmin({ photosDb }: PhotoDisplayProps) {
async function addPhotos(formData: FormData) {
'use server'
i tried a lot of ways to manage to send all the data at once, and using a loop POST is auto cancelled and seems not the good way to do it.
any ideas?
The text was updated successfully, but these errors were encountered: