有人可以告诉我如何使用Redux Form WITHOUT {...input}
来构建TextField组件,例如:
const renderTextField = ({ input, label, meta: { touched, error }, ...custom }) => (
<TextField hintText={label}
floatingLabelText={label}
errorText={touched && error}
{...input}
{...custom}
/>
)
由于输入变量中的一些错误,Field无法得到任何关注,我无法弄清楚如何使用输入方法和值构建组件来解决错误(可能)。请帮忙! :(