field-form icon indicating copy to clipboard operation
field-form copied to clipboard

Field 增加字段配置,期望resetFields的时候忽略该字段

Open jongwong opened this issue 2 years ago • 1 comments

<Field name={'name'} ignoreReset />

jongwong avatar Mar 06 '24 06:03 jongwong

十分有必要,但更建议官方实现类似以下的API:

form.getFieldsValue(nameList?: true | NamePath[], filterFunc?: FilterFunc) // 现有的
form.resetFields(nameList?: true | NamePath[], filterFunc?: FilterFunc)    // 期望的

用途一样,但可行性更高

Airkro avatar Nov 24 '25 05:11 Airkro