skip to Main Content

Ios swift – Why doesn't UITextfield bind value when selected `My Own Password` after field is autofilled?

This is how I define actions for my password UITextFields: mainView.passwordTextField.rx.text.orEmpty.bind(to: viewModel.password).disposed(by: disposeBag) mainView.passwordTextField.rx.controlEvent([.editingChanged]) .asObservable() .subscribe { [mainView, viewModel, weak self] ale in print(">>>>>") print(viewModel.password.value) self?.updateView() }.disposed(by: disposeBag) And this is how it look like after password autofill is called…

VIEW QUESTION
Back To Top
Search