Patches the problem with <-> clearing the value on return. Correct solution is still unknown.
This commit is contained in:
parent
49e9057d28
commit
c52090aee2
|
|
@ -51,7 +51,7 @@ func <-> (textInput: RxTextInput, variable: Variable<String>) -> Disposable {
|
|||
|
||||
let nonMarkedTextValue = nonMarkedText(textInput)
|
||||
|
||||
if nonMarkedTextValue != variable.value {
|
||||
if nonMarkedTextValue != nil && nonMarkedTextValue != variable.value {
|
||||
variable.value = nonMarkedTextValue ?? ""
|
||||
}
|
||||
}, onCompleted: {
|
||||
|
|
|
|||
Loading…
Reference in New Issue