updated in the didChange
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
cbe28583ed
commit
699626a4b8
@ -364,11 +364,11 @@ extension InputField: UITextFieldDelegate {
|
|||||||
|
|
||||||
open func textFieldDidChangeSelection(_ textField: UITextField) {
|
open func textFieldDidChangeSelection(_ textField: UITextField) {
|
||||||
fieldType.handler().textFieldDidChangeSelection(self, textField: textField)
|
fieldType.handler().textFieldDidChangeSelection(self, textField: textField)
|
||||||
|
text = textField.text
|
||||||
|
sendActions(for: .valueChanged)
|
||||||
if fieldType.handler().validateOnChange {
|
if fieldType.handler().validateOnChange {
|
||||||
validate()
|
validate()
|
||||||
}
|
}
|
||||||
sendActions(for: .valueChanged)
|
|
||||||
setNeedsUpdate()
|
|
||||||
}
|
}
|
||||||
|
|
||||||
open func textField(_ textField: UITextField, shouldChangeCharactersIn range: NSRange, replacementString string: String) -> Bool {
|
open func textField(_ textField: UITextField, shouldChangeCharactersIn range: NSRange, replacementString string: String) -> Bool {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user