Skip to content

Commit 01b96f2

Browse files
authored
Merge pull request #122 from Roy0Anonymous/master
Added Enable and Disable Arrow Functions
2 parents c3c306d + 3d68060 commit 01b96f2

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Classes/iOSDropDown.swift

+8
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)