From bffd34ea5360334379c8afcab624da1ef1203852 Mon Sep 17 00:00:00 2001 From: Samuel Gallet Date: Wed, 31 Mar 2021 10:49:23 +0200 Subject: [PATCH 1/3] Reset input view when cell type change --- .../ADFormController/Classes/FormTextFieldTableViewCell.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Modules/ADFormController/Classes/FormTextFieldTableViewCell.swift b/Modules/ADFormController/Classes/FormTextFieldTableViewCell.swift index 300b33d..ec7bde1 100644 --- a/Modules/ADFormController/Classes/FormTextFieldTableViewCell.swift +++ b/Modules/ADFormController/Classes/FormTextFieldTableViewCell.swift @@ -19,6 +19,7 @@ class FormTextFieldTableViewCell : FormBaseTableViewCell, UITextFieldDelegate, F private var cellType: FormTextCellType = .email { didSet { textField.isSecureTextEntry = false + textField.inputView = nil switch self.cellType { case .email: textField.keyboardType = .emailAddress From 9a450785633bd329089c33634eda7ca35608c93b Mon Sep 17 00:00:00 2001 From: Samuel Gallet Date: Wed, 31 Mar 2021 11:16:07 +0200 Subject: [PATCH 2/3] Bump podspec --- ADFormController.podspec | 2 +- Podfile.lock | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ADFormController.podspec b/ADFormController.podspec index f301701..af37c93 100644 --- a/ADFormController.podspec +++ b/ADFormController.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |spec| spec.name = 'ADFormController' - spec.version = '6.0.4' + spec.version = '6.0.5' spec.authors = 'Applidium' spec.license = 'none' spec.homepage = 'http://applidium.com' diff --git a/Podfile.lock b/Podfile.lock index 9fea6a9..117373d 100644 --- a/Podfile.lock +++ b/Podfile.lock @@ -1,5 +1,5 @@ PODS: - - ADFormController (6.0.4): + - ADFormController (6.0.5): - ADKeyboardManager (~> 6.0) - ADKeyboardManager (6.0.0) - ADUtils (10.5.0): @@ -57,7 +57,7 @@ EXTERNAL SOURCES: :path: "./" SPEC CHECKSUMS: - ADFormController: 14c3bfc1f1981a3d6936afaac51a01a2090baeb5 + ADFormController: 94683926ca258f47805cee9a0f29a8f95a919f0a ADKeyboardManager: a9dce48b8d2306c1fca5deb46d04fa8472516fe2 ADUtils: 67372e355673bbc53f6843423dc78ebf3771f8ec Alamofire: 85e8a02c69d6020a0d734f6054870d7ecb75cf18 From 38bba71de9a8e1d519e39d33a9f16b675484e9e9 Mon Sep 17 00:00:00 2001 From: Samuel Gallet Date: Wed, 31 Mar 2021 11:16:46 +0200 Subject: [PATCH 3/3] Update changelog --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index e8e168f..757cc1b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ All notable changes to this project will be documented in this file. `ADFormController` adheres to [Semantic Versioning](http://semver.org/). +## [6.0.5] + +### Fix +- Fix input view resetting in FormTextFieldTableViewCell ## [6.0.4]