Antd form binds Input and Select to report an error

problem description

antd form binds select component,

the environmental background of the problems and what methods you have tried

clipboard.png

//


clipboard.png

what result do you expect? What is the error message actually seen?


[fileId] this directly writes fileId and puts String, instead of Array

.
 <FormItem 
  label={label}
  key={fileId}
  {...formItemLayout}>
    {
        getFieldDecorator(fileId)(
            <Select placeholder={placeholder}
                    showSearch
                    allowClear>
                {this.getOptionList(item.optionList)}
            </Select>
        )
    }
</FormItem>
Menu