don't fail if component is not nested inside a form