-
Notifications
You must be signed in to change notification settings - Fork 473
Closed
Description
Hi,
Thanks for awesome and useful library!.
O noticed that probably defaultIndex is ignored, any value I set 0,1,3 always get default text 'Please select...' - Tested on iOS
Please have a look when you have time
Thanks
Marcin
<ModalDropdown options={[strings.veryGoodCondition, strings.goodCondition, strings.sufficientCondition, strings.badCondition]}
defaultIndex={0}
onSelect={(idx, value) => {
this.props.updateIssueStatus(item.id, this.conditionStatusToIndex[idx], value);
}}
style={controlStyles.dropDownContainerStyle}
textStyle={{}}
dropdownStyle={controlStyles.dropDownStyle}
dropdownTextStyle={controlStyles.dropDownItemTextStyle}
textStyle={controlStyles.dropDownItemTextStyle}/>
Metadata
Metadata
Assignees
Labels
No labels