MCPcopy
hub / github.com/react-component/form / getNotCollectedFields

Method getNotCollectedFields

src/createFieldsStore.js:175–185  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

173 }
174
175 getNotCollectedFields() {
176 const fieldsName = this.getValidFieldsName();
177 return fieldsName
178 .filter(name => !this.fields[name])
179 .map(name => ({
180 name,
181 dirty: false,
182 value: this.getFieldMeta(name).initialValue,
183 }))
184 .reduce((acc, field) => set(acc, field.name, createFormField(field)), {});
185 }
186
187 getNestedAllFields() {
188 return Object.keys(this.fields)

Callers 1

getNestedAllFieldsMethod · 0.95

Calls 3

getValidFieldsNameMethod · 0.95
getFieldMetaMethod · 0.95
createFormFieldFunction · 0.85

Tested by

no test coverage detected