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
An issue happens when inserting fields into a field list. This specifically happens when supplying a default value to the form.insert function. More specifically it seems to have a problem when the default value is an object. I can make it work if the default value is a string or number. When you call the form.insert with an object as the default value the first time it works fine. The second time it will submit the form. I have created a minimal reproduction here on stackblitz. I'm sure I could be doing something wrong but I just don't know what it could be.
Conform version
v1.2.1
Steps to Reproduce the Bug or Issue
1 - Click add once and a new hacker.
1 - Click add again and the form submission will be sent.
What browsers are you seeing the problem on?
Chrome
Screenshots or Videos
No response
Additional context
No response
The text was updated successfully, but these errors were encountered:
@Pouet-- That does work and I should have checked that. The reason I went back to 1.2.1 from 1.2.2 is that I'm still getting the react warning about spreading the key. I can try to work around that for now.
Describe the bug and the expected behavior
An issue happens when inserting fields into a field list. This specifically happens when supplying a default value to the form.insert function. More specifically it seems to have a problem when the default value is an object. I can make it work if the default value is a string or number. When you call the form.insert with an object as the default value the first time it works fine. The second time it will submit the form. I have created a minimal reproduction here on stackblitz. I'm sure I could be doing something wrong but I just don't know what it could be.
Conform version
v1.2.1
Steps to Reproduce the Bug or Issue
1 - Click add once and a new hacker.
1 - Click add again and the form submission will be sent.
What browsers are you seeing the problem on?
Chrome
Screenshots or Videos
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: