ReactJS: How to wrap react-select in redux-form field?

后端 未结 5 1060
难免孤独
难免孤独 2021-02-13 02:57

I am working on react-select library and facing some issues, I am using redux-form library and importing component from it

5条回答
  •  北荒
    北荒 (楼主)
    2021-02-13 03:35

    Try setting onBlurResetInput property to false.

    Something like.

    const SelectInput = ({input: { onChange, value }, options, name, id}) => (
        
                            
        
    提交评论

提交回复
热议问题