Commit 14f39ab8 authored by Lars van Rhijn's avatar Lars van Rhijn

Added placeholder for textfields

parent dc896bb7
......@@ -3,5 +3,7 @@
"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 a number": "Voer een getal in",
"Enter some text": "Voer tekst in"
}
......@@ -188,7 +188,7 @@ class RegistrationScreen extends Component {
value={this.state[key]}
onChangeText={value => this.updateField(key, value)}
keyboardType={field.type === 'integer' ? 'numeric' : 'default'}
placeholder="Lorem ipsum"
placeholder={field.label}
style={styles.field}
underlineColorAndroid={validity.isValid ? Colors.lightGray
: Colors.lightRed}
......
......@@ -36,8 +36,6 @@ const styles = StyleSheet.create({
ios: {
fontFamily: 'System',
fontWeight: '600',
borderBottomWidth: 1,
borderBottomColor: Colors.dividerGrey,
},
fontSize: 14,
color: Colors.textColour,
......
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