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

Added placeholder for textfields

parent dc896bb7
...@@ -3,5 +3,7 @@ ...@@ -3,5 +3,7 @@
"This field is required.": "Dit veld is verplicht.", "This field is required.": "Dit veld is verplicht.",
"Sorry! We couldn't load any data.": "Sorry! We konden geen gegevens laden.", "Sorry! We couldn't load any data.": "Sorry! We konden geen gegevens laden.",
"Save": "Aanpassen", "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 { ...@@ -188,7 +188,7 @@ class RegistrationScreen extends Component {
value={this.state[key]} value={this.state[key]}
onChangeText={value => this.updateField(key, value)} onChangeText={value => this.updateField(key, value)}
keyboardType={field.type === 'integer' ? 'numeric' : 'default'} keyboardType={field.type === 'integer' ? 'numeric' : 'default'}
placeholder="Lorem ipsum" placeholder={field.label}
style={styles.field} style={styles.field}
underlineColorAndroid={validity.isValid ? Colors.lightGray underlineColorAndroid={validity.isValid ? Colors.lightGray
: Colors.lightRed} : Colors.lightRed}
......
...@@ -36,8 +36,6 @@ const styles = StyleSheet.create({ ...@@ -36,8 +36,6 @@ const styles = StyleSheet.create({
ios: { ios: {
fontFamily: 'System', fontFamily: 'System',
fontWeight: '600', fontWeight: '600',
borderBottomWidth: 1,
borderBottomColor: Colors.dividerGrey,
}, },
fontSize: 14, fontSize: 14,
color: Colors.textColour, 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