(props)
| 20 | |
| 21 | class FormControl extends Component { |
| 22 | constructor (props) { |
| 23 | super(props); |
| 24 | this.state = { |
| 25 | validations: '' |
| 26 | }; |
| 27 | |
| 28 | // for check props |
| 29 | this.items = {}; |
| 30 | this.itemBind = this.itemBind.bind(this); |
| 31 | this.itemUnbind = this.itemUnbind.bind(this); |
| 32 | this.itemChange = this.itemChange.bind(this); |
| 33 | this.handleValidate = this.handleValidate.bind(this); |
| 34 | } |
| 35 | |
| 36 | componentWillMount () { |
| 37 | this.setItems(this.props); |
nothing calls this directly
no outgoing calls
no test coverage detected