How to assign an initial value to input when the click-and-edit function in ant design pro uses getFieldDecorator

ant design pro framework does a click-edit function to generate a pop-up box, how to assign an initial value to an input when using form.getFieldDecorator

clipboard.png
writing initialvalue doesn"t work. How to fix this?

Mar.06,2021

getFieldDecorator('XXXID', {
  initialValue: '',
})(
  <Input placeholder={XXX || 'XXX'} />
)

getFieldDecorator(id, { 
    initialValue: '',
})(
  <Input />
)

clipboard.png

Menu