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

Function clearField

src/createBaseForm.js:431–435  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

429 },
430
431 clearField(name) {
432 this.fieldsStore.clearField(name);
433 delete this.instances[name];
434 delete this.cachedBind[name];
435 },
436
437 resetFields(ns) {
438 const newFields = this.fieldsStore.resetFields(ns);

Callers

nothing calls this directly

Calls 1

clearFieldMethod · 0.80

Tested by

no test coverage detected