react-native-material-dropdown icon indicating copy to clipboard operation
react-native-material-dropdown copied to clipboard

It's not possible to disable editing

Open erikamatesz opened this issue 5 years ago • 1 comments

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.

erikamatesz avatar Sep 18 '19 06:09 erikamatesz

disabled={true}

1pocketaces1 avatar May 07 '20 21:05 1pocketaces1