Skip to content

Commit 3d68060

Browse files
committed
Added Enable and Disable Arrow Functions
1 parent 7997015 commit 3d68060

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Classes/iOSDropDown.swift

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,14 @@ open class DropDown : UITextField{
338338
public func listDidDisappear(completion: @escaping () -> ()) {
339339
TableDidDisappearCompletion = completion
340340
}
341+
342+
public func enableArrow() {
343+
self.rightViewMode = .always
344+
}
345+
346+
public func disableArrow() {
347+
self.rightViewMode = .never
348+
}
341349

342350
}
343351

0 commit comments

Comments
 (0)