-
-
Notifications
You must be signed in to change notification settings - Fork 489
Open
Description
Much of my data is optional as I'm building a content creation form for TTRPG systems. This is a fairly complex form and there's a lot of variety even within a group of what's actually required. And rather than filling in empty arrays automatically to just have to disregard them when the data is submitted, I leave them optional. As of right now, when trying to use the removeFieldValue method, it will types the optional field as never.
A work around is to a copy of the array with the value removed and then using setFieldValue.
Metadata
Metadata
Assignees
Labels
No labels