我想在react-final-form中使用带有Ant Design Input的react-input-mask。为了在react-final-form中使用antd,我还必须安装redux-form-antd。react";import { Button } from "antd";
import { Form, Field } from "react-final-form
如何将onSubmit的值类型设置为react-最终形式。 name: string;<Form onSubmit={(values: IValues) => {}}> // Error happens here// Type '{}' is missing the following properties from type '
到目前为止,我已经创建了一个标准的记录级,如下所示:https://final-form.org/docs/react-final-form/examples/record-level-validation我正在使用React Final Form和react-places-autocomplete。当您在字段中输入信息时,我希望包括react-places-autocomplete的选择,以显示在上面链接中看到的值。我尝试添加以下基于react-places autoco
我使用react-final-form创建了一个表单。自动对焦不起作用。我所知道的唯一解决方案是使用React的ref特性。我可以使用react-final-form库自动聚焦输入吗?import React from "react";import { Form, Field } from "react-final-form