Commit fc137eaa authored by Lars van Rhijn's avatar Lars van Rhijn

Added placeholders to textfields

parent 611d8cce
......@@ -3,5 +3,6 @@
"This field is required.": "Dit veld is verplicht.",
"Sorry! We couldn't load any data.": "Sorry! We konden geen gegevens laden.",
"Save": "Aanpassen",
"This field must be an integer.": "Dit veld moet een cijfer zijn."
"This field must be an integer.": "Dit veld moet een cijfer zijn.",
"Enter some text": "Voer tekst in"
}
......@@ -188,6 +188,7 @@ class RegistrationScreen extends Component {
value={this.state[key]}
onChangeText={value => this.updateField(key, value)}
keyboardType={field.type === 'integer' ? 'numeric' : 'default'}
placeholder={field.label === '' ? 'Enter some text' : field.label}
style={styles.field}
underlineColorAndroid={validity.isValid ? Colors.lightGray
: Colors.lightRed}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment