```
<div>
  <TextInput
    label="TextInputRequired"
    type="text"
    mandatory
    value={state.value5}
    onChange={e => setState({value5: e.target.value})}
  />
  <p>Redux form 6</p>
  <TextInput
    label="TextInputRequired"
    type="text"
    maxLength={150}
    mandatory
    input={{
      value: state.value6,
      onChange: e => setState({value6: e.target.value})
    }}
  />
</div>
```
 
