fixbugwithselectordropdownaddedclockedinlist
This commit is contained in:
@@ -53,16 +53,16 @@ export function CostCenterSelect(props) {
|
||||
selectedTextStyle={styles.selectedTextStyle}
|
||||
inputSearchStyle={styles.inputSearchStyle}
|
||||
iconStyle={styles.iconStyle}
|
||||
data={costCenters}
|
||||
search
|
||||
maxHeight={300}
|
||||
labelField="label"
|
||||
valueField="value"
|
||||
placeholder={!isFocus ? "Select Cost Center" : "..."}
|
||||
searchPlaceholder="Search..."
|
||||
value={props.currentValue?.value}
|
||||
onFocus={() => setIsFocus(true)}
|
||||
onBlur={() => setIsFocus(false)}
|
||||
data={costCenters}
|
||||
value={props.currentValue?.value}
|
||||
onChange={(item) => {
|
||||
props.onValueSelected(item);
|
||||
//setValue(item.value);
|
||||
|
||||
Reference in New Issue
Block a user