yamankatby / react-native-material

Modular and customizable Material Design UI components for React Native
https://rn-material.js.org
MIT License
228 stars 38 forks source link

TextInput label overlaying with input text #54

Open vanyingenzi opened 1 year ago

vanyingenzi commented 1 year ago

Hello,

I'm new to react-native-material and I have the label text on top of the input text image when I use the :

<View/>
      <TextInput label="Email" variant="outlined" style={styles.textInput} />
</View/>

const styles = StyleSheet.create({
  textInput:{
    width: "80%", 
    marginVertical: 10
  }
});

Thanks in advance for your help

andy-822 commented 1 year ago

I have the same problem

DanielSuarezDev commented 1 year ago

hey guys I was able to solve the problem, don't forget the value in your inputs, that solves that problem.

Fardin96 commented 1 year ago

hey guys I was able to solve the problem, don't forget the value in your inputs, that solves that problem.

saved me a lot of time. thanks!