Disable save button for temp when no value entered

This commit is contained in:
emelko
2018-06-13 12:25:58 +02:00
parent 61e44ceb2f
commit f2ad9f10c0
+1
View File
@@ -75,6 +75,7 @@ export default class Temp extends Component {
})
navigate('dayView', { cycleDay })
}}
disabled={ this.state.currentValue === '' }
title="Save">
</Button>
</View>