mirror of
https://github.com/koodiklinikka/koodiklinikka.fi.git
synced 2026-02-08 08:50:17 +00:00
fix input types
This commit is contained in:
@@ -139,7 +139,7 @@ module.exports = React.createClass({
|
||||
<input
|
||||
key = { fieldName }
|
||||
className = { inputClasses }
|
||||
type = 'text'
|
||||
type = { fieldName == 'email' ? 'email' : 'text' }
|
||||
name = { fieldName }
|
||||
placeholder = { fieldNameTranslations[fieldName].fi }
|
||||
value = { this.state[fieldName] }
|
||||
|
||||
Reference in New Issue
Block a user