Merge branch 'feature/ItemDropdown_anyValueChangeValidation_issue' into 'develop'
anyValueChanged validation issue fixed for ItemDropdownEntryField See merge request BPHV_MIPS/mvm_core_ui!554
This commit is contained in:
commit
e119e269b8
@ -45,6 +45,7 @@
|
|||||||
if let selectedIndex = try typeContainer.decodeIfPresent(Int.self, forKey: .selectedIndex) {
|
if let selectedIndex = try typeContainer.decodeIfPresent(Int.self, forKey: .selectedIndex) {
|
||||||
self.selectedIndex = selectedIndex
|
self.selectedIndex = selectedIndex
|
||||||
}
|
}
|
||||||
|
baseValue = options.indices.contains(selectedIndex) ? options[selectedIndex] : nil
|
||||||
}
|
}
|
||||||
|
|
||||||
public override func encode(to encoder: Encoder) throws {
|
public override func encode(to encoder: Encoder) throws {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user