How to handle a nullable object in the form. - TanStack