()
| 36 | } |
| 37 | |
| 38 | getValue () { |
| 39 | let values = [], |
| 40 | files = this.state.files; |
| 41 | const { sep } = this.props; |
| 42 | Object.keys(files).forEach((id) => { |
| 43 | //if (autoUpload) { |
| 44 | values.push(files[id].value); |
| 45 | //} else { |
| 46 | // values.push(files[id].file.files[0]); |
| 47 | //} |
| 48 | }); |
| 49 | if (sep) { |
| 50 | values = values.join(sep); |
| 51 | } |
| 52 | return values; |
| 53 | } |
| 54 | |
| 55 | handleChange (value) { |
| 56 | const { onChange } = this.props; |
no outgoing calls
no test coverage detected