I have a Eureka form that displays a TextAreaRow. When the user attempts to "Paste" something from the UIPasteboard into this field, it adds a space to the front of the string (Example: "Homework" becomes " Homework" - notice the space at the front). How can I stop this from happening?
import UIKit
import Eureka
class MyViewController: FormViewController {
func setupEurekaForm() {
form
+++ Section("TEXTFIELDS")
<<< TextAreaRow() {
$0.value = "Test text"
// here I need to somehow tell the field to disable smartInsertDeleteType
}
}
}