diff --git a/VDS/Components/DropdownSelect/DropdownSelect.swift b/VDS/Components/DropdownSelect/DropdownSelect.swift index ac5cb29b..cf3539fb 100644 --- a/VDS/Components/DropdownSelect/DropdownSelect.swift +++ b/VDS/Components/DropdownSelect/DropdownSelect.swift @@ -93,7 +93,7 @@ open class DropdownSelect: EntryFieldBase { $0.setContentCompressionResistancePriority(.required, for: .horizontal) $0.textAlignment = .left $0.textStyle = .boldBodyLarge - $0.lineBreakMode = .byCharWrapping + $0.numberOfLines = 1 $0.sizeToFit() } @@ -102,7 +102,7 @@ open class DropdownSelect: EntryFieldBase { $0.setContentCompressionResistancePriority(.required, for: .horizontal) $0.textAlignment = .left $0.textStyle = .bodyLarge - $0.lineBreakMode = .byCharWrapping + $0.numberOfLines = 1 } open var dropdownField = UITextField().with {