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

Dropdown list have one blank item it's showing

Open avadheshdev opened this issue 2 years ago • 0 comments

Screenshot_1688575575 <Dropdown placeholderStyle={DropdownPlaceholderStyles} style={{ borderColor: '#bac1c7', fontFamily: 'DMSans-Regular', borderWidth: 1, padding: 5, borderRadius: 5, zIndex: 1, }} data={apartmentItems} search labelField="label" valueField="value" value={selectedApartment} placeholder="Select your apartment" searchPlaceholder="Search here" // searchQuery={handleAreaSearchTextChange} onChange={item => { console.log('Item', item); setApartment(item.value); handleApartmentChange(item.value); }} onChangeText={debounce(text => { handleAreaSearchTextChange(text); }, 1000)} // renderItem={item => ( // <TextView fontWeight={500} style={Utils.mt(16)}> // {item?.label} // </TextView> // )} flatListProps={{ ListEmptyComponent: AddNewApartments, }} />

avadheshdev avatar Jul 05 '23 16:07 avadheshdev