Open erikamatesz opened 5 years ago
I have an user profile screen with a dropdown. It also has a button "Edit" so when the user clicks on it, it enables all the fields. I'm using the prop 'editable' to try to control this but it's not working. Can you check this out, please?
<Dropdown containerStyle={styles.dropdownContainer} animationDuration={100} baseColor={dropdownTextColor} textColor={dropdownTextColor} label={gender} data={genderList} editable={false} onChangeText={ (value) => console.log('Debug: '+ value)} />
It's hard coded for false as an attempt but it will receive a variable.
disabled={true}
I have an user profile screen with a dropdown. It also has a button "Edit" so when the user clicks on it, it enables all the fields. I'm using the prop 'editable' to try to control this but it's not working. Can you check this out, please?
<Dropdown containerStyle={styles.dropdownContainer} animationDuration={100} baseColor={dropdownTextColor} textColor={dropdownTextColor} label={gender} data={genderList} editable={false} onChangeText={ (value) => console.log('Debug: '+ value)} />
It's hard coded for false as an attempt but it will receive a variable.