Merge branch 'bugfix/cscom-1703-cxtdt-250108' into 'develop'
CSCOM-1703 | CXTDT-250108 See merge request BPHV_MIPS/mvm_core_ui!802
This commit is contained in:
commit
464f3c5f27
@ -247,6 +247,10 @@ import UIKit
|
|||||||
/// Executes on UITextField.textDidChangeNotification (each character entry)
|
/// Executes on UITextField.textDidChangeNotification (each character entry)
|
||||||
@objc override func valueChanged() {
|
@objc override func valueChanged() {
|
||||||
super.valueChanged()
|
super.valueChanged()
|
||||||
|
if (textEntryFieldModel?.type == .email) {
|
||||||
|
// remove spaces (either user entered Or auto-correct suggestion) for the email field
|
||||||
|
textField.text = textField.text?.replacingOccurrences(of: " ", with: "")
|
||||||
|
}
|
||||||
validateText()
|
validateText()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user