Merge branch '347-maxlength-in-temp-input' into 'master'

adds maxLength to temperature input field

Closes #347

See merge request bloodyhealth/drip!207
This commit is contained in:
tina
2019-05-01 16:46:18 +00:00
@@ -125,6 +125,7 @@ export default class Temp extends Component {
value={this.state.temperature}
onChangeText={this.setTemperature}
keyboardType='numeric'
maxLength={5}
onBlur={this.checkRange}
/>
<AppText style={{ marginLeft: 5 }}>°C</AppText>