(hints, key, value)
| 12 | setLang('validation'); |
| 13 | |
| 14 | function setHint(hints, key, value) { |
| 15 | let text = getLang('validation.hints.' + key, null); |
| 16 | if (text) { |
| 17 | hints.push(format(text, value)); |
| 18 | } |
| 19 | } |
| 20 | |
| 21 | class FormControl extends Component { |
| 22 | constructor (props) { |