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
Default value doesn't work for properties of objects in array, they get erased from the formData instead.
Steps to Reproduce
I've created a playground here, where you are free to try it.
Expected behavior
Once you remove a values from fields Client secret or Bulls -> Name, it works as expected and you can see the default empty strings in formData for these properties. But when you erase the value from Search -> Name field, you'll get empty object in search array instead of object with default name as empty string (as specified).
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as possibly close because it has not had recent activity. It will be closed if no further activity occurs. Please leave a comment if this is still an issue for you. Thank you.
Prerequisites
Description
Default value doesn't work for properties of objects in array, they get erased from the formData instead.
Steps to Reproduce
I've created a playground here, where you are free to try it.
Expected behavior
Once you remove a values from fields
Client secret
orBulls -> Name
, it works as expected and you can see the default empty strings informData
for these properties. But when you erase the value fromSearch -> Name
field, you'll get empty object in search array instead of object with defaultname
as empty string (as specified).The text was updated successfully, but these errors were encountered: