diff --git a/VDS/Components/DropdownSelect/DropdownOptionModel.swift b/VDS/Components/DropdownSelect/DropdownOptionModel.swift index ba7caa7f..c82519eb 100644 --- a/VDS/Components/DropdownSelect/DropdownOptionModel.swift +++ b/VDS/Components/DropdownSelect/DropdownOptionModel.swift @@ -12,9 +12,11 @@ extension DropdownSelect { /// Text that goes as option to DropdownSelect public var text: String + public var value: String - public init(text: String) { + public init(text: String, value: String? = nil) { self.text = text + self.value = value ?? text } } }