ElemeFE / ElemeFE/element

[Feature Request] Add Functionality to reset initialValues for ElForm

Open
#15,622 4 comments 4 reactions 0 assignees View on GitHub
stale
Dominant language
Vue
Stars
54k
Forks
14.4k
PR merge metrics
No merged PRs in 30d

Description

### Existing Component
Yes

### Component Name
ElForm

### Description
I want to reset initialValues when the form successfully submited. just looks like: ```$refs.form.resetInitialValues()``` or something.
So that when I call resetFields, the field values can be reset to the newly submited value, instead of the old dirty value.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.