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
Sorry wasn't sure where to put this suggestion, but I think one of the best things that this library has over RHF is that it seems to support setting optional fields to undefined. RHF doesn't seem to currently support setting undefined values anywhere and they don't plan to support it. This omission is a huge hindrance, specially when working with TS, since you might have to drastically change nested types, schemas, and then cast data to and from form variants. I didn't see this benefit listed in the table at https://tanstack.com/form/latest/docs/comparison and I think it would be a huge selling point.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Sorry wasn't sure where to put this suggestion, but I think one of the best things that this library has over RHF is that it seems to support setting optional fields to undefined. RHF doesn't seem to currently support setting undefined values anywhere and they don't plan to support it. This omission is a huge hindrance, specially when working with TS, since you might have to drastically change nested types, schemas, and then cast data to and from form variants. I didn't see this benefit listed in the table at https://tanstack.com/form/latest/docs/comparison and I think it would be a huge selling point.
Beta Was this translation helpful? Give feedback.
All reactions