(name)
| 44 | } |
| 45 | |
| 46 | getList(name) { |
| 47 | const fieldName = this.queryName + _.toString(name); |
| 48 | const ctxValues = ensureArray(this.context[name]); |
| 49 | const stateValues = ensureArray(this.state[fieldName]); |
| 50 | return _.uniq(_.concat(ctxValues, stateValues)); |
| 51 | } |
| 52 | |
| 53 | getString(name) { |
| 54 | return _.toString(_.head(this.getList(name))); |