You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when i try to open dropdown on first click it not opening the dropdown. i am using ref.open() method to open it. Can we add solution for this in latest version
Code-
const categoryRef = useRef();
<TouchableOpacity
onPress={() => {
categoryRef?.current?.open();
}}
style={styles.multipleDropdownStyle}>
<MultiSelect
ref={categoryRef}
placeholder={'Add job categories here'}
placeholderStyle={styles.placeholderStyle}
data={specialityData}
labelField={'name'}
valueField={'name'}
value={selectedJob}
renderRightIcon={() => {
return ;
}}
onChange={val => setSelectedJob(val)}
selectedStyle={styles.multiSelected}
selectedTextStyle={styles.multiSelectedTxt}
search={true}
alwaysRenderSelectedItem={true}
searchPlaceholder={'Search'}/>
The text was updated successfully, but these errors were encountered:
when i try to open dropdown on first click it not opening the dropdown. i am using ref.open() method to open it. Can we add solution for this in latest version
Code-
const categoryRef = useRef();
<TouchableOpacity
onPress={() => {
categoryRef?.current?.open();
}}
style={styles.multipleDropdownStyle}>
<MultiSelect
ref={categoryRef}
placeholder={'Add job categories here'}
placeholderStyle={styles.placeholderStyle}
data={specialityData}
labelField={'name'}
valueField={'name'}
value={selectedJob}
renderRightIcon={() => {
return ;
}}
onChange={val => setSelectedJob(val)}
selectedStyle={styles.multiSelected}
selectedTextStyle={styles.multiSelectedTxt}
search={true}
alwaysRenderSelectedItem={true}
searchPlaceholder={'Search'}/>
The text was updated successfully, but these errors were encountered: