Closed fvitas closed 1 month ago
Hey, I noticed a bug in the form builder.
-> If you delete an input field from the middle of the list and then add a new one, two items end up with the same key, and it stops working properly.
Maybe using crypto.randomUUID() would be better for unique keys, but since you're using names, this might look cleaner.
@fvitas is attempting to deploy a commit to the hasanharman's projects Team on Vercel.
A member of the Team first needs to authorize it.
Thanks a lot for noticing this.
Hey, I noticed a bug in the form builder.
-> If you delete an input field from the middle of the list and then add a new one, two items end up with the same key, and it stops working properly.
Maybe using crypto.randomUUID() would be better for unique keys, but since you're using names, this might look cleaner.