public function form(IForm $form) : InnerFormFieldBuilder
    {
        if ($form instanceof FormObject) {
            return new InnerFormObjectFieldBuilder($this->type(new InnerFormObjectType($form))->value($form));
        }

        return new InnerFormFieldBuilder($this->type(new InnerFormType($form))->value($form->getInitialValues()));
    }