Merge branch 'bugfix/preselectedDropdowns' into 'develop'
When we select the first date from date drop down, the time drop down is not appearing until we select anther date again from the date drop down. See merge request BPHV_MIPS/mvm_core_ui!617
This commit is contained in:
commit
93bcc757b4
@ -81,7 +81,9 @@ open class ItemDropdownEntryField: BaseDropdownEntryField {
|
||||
guard !pickerData.isEmpty else { return }
|
||||
|
||||
if setInitialValueInTextField, let pickerIndex = pickerView?.selectedRow(inComponent: 0) {
|
||||
observeDropdownChange?(text ?? "", pickerData[pickerIndex])
|
||||
text = pickerData[pickerIndex]
|
||||
itemDropdownEntryFieldModel?.selectedIndex = pickerIndex
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user