(ns)
| 435 | }, |
| 436 | |
| 437 | resetFields(ns) { |
| 438 | const newFields = this.fieldsStore.resetFields(ns); |
| 439 | if (Object.keys(newFields).length > 0) { |
| 440 | this.setFields(newFields); |
| 441 | } |
| 442 | if (ns) { |
| 443 | const names = Array.isArray(ns) ? ns : [ns]; |
| 444 | names.forEach(name => delete this.clearedFieldMetaCache[name]); |
| 445 | } else { |
| 446 | this.clearedFieldMetaCache = {}; |
| 447 | } |
| 448 | }, |
| 449 | |
| 450 | recoverClearedField(name) { |
| 451 | if (this.clearedFieldMetaCache[name]) { |
nothing calls this directly
no test coverage detected