Browse Source

fixing date input on pluviometer registration screen

master
analuizaff 3 years ago
parent
commit
311db6bd40
  1. 42
      src/app/screens/PluviometerRegisterScreen.js

42
src/app/screens/PluviometerRegisterScreen.js

@ -138,7 +138,7 @@ function PluviometerRegisterScreen(props) {
}; };
return ( return (
<View> <View style={{padding: 10, flex:1}}>
<OnSubmitAwaitModal show={showAwaitModal} /> <OnSubmitAwaitModal show={showAwaitModal} />
<OnSubmitMessageModal <OnSubmitMessageModal
show={showMessageModal} show={showMessageModal}
@ -162,28 +162,28 @@ function PluviometerRegisterScreen(props) {
}); });
}} }}
> >
<View padding={16}> <View style={{padding: 6, flex:1}}>
<Text style={styles.title}>Cadastro do Pluviômetro</Text> <Text style={styles.title}>Cadastro do Pluviômetro</Text>
{/* <Text */} <Text
{/* style={{ */} style={{
{/* marginTop: 24, */} marginTop: 24,
{/* marginBottom: 16, */} marginBottom: 16,
{/* fontSize: dimensions.text.secondary, */} fontSize: dimensions.text.secondary,
{/* fontWeight: "bold", */} fontWeight: "bold",
{/* textAlign: "left", */} textAlign: "left",
{/* color: colors.secondary, */} color: colors.secondary,
{/* }} */} }}
{/* > */} >
{/* Data do cadastro: */} Data do cadastro:
{/* </Text> */} </Text>
{/* <FormDatePicker */} <FormDatePicker
{/* onDateChange={(value) => setDate(value)} */} onDateChange={(value) => setDate(value)}
{/* onTimeChange={(value) => setTime(value)} */} onTimeChange={(value) => setTime(value)}
{/* date={date} */} date={date}
{/* time={time} */} time={time}
{/* formTypeFace={"pluviometerRegister"} */} formTypeFace={"pluviometerRegister"}
{/* /> */} />
<Text style={styles.label}>Endereço do pluviômetro*: </Text> <Text style={styles.label}>Endereço do pluviômetro*: </Text>
<View marginBottom={24}> <View marginBottom={24}>

|||||||
100:0
Loading…
Cancel
Save