updated for checkbox only
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
4b06ef2e31
commit
4aa081f6de
@ -176,7 +176,9 @@ open class SelectorItemBase<Selector: SelectorControlable>: Control, Errorable,
|
||||
/// Executed on initialization for this View.
|
||||
open override func initialSetup() {
|
||||
super.initialSetup()
|
||||
|
||||
selectorView.onClick = { [weak self] control in
|
||||
self?.toggle()
|
||||
}
|
||||
}
|
||||
|
||||
/// Called once when a view is initialized and is used to Setup additional UI or other constants and configurations.
|
||||
@ -188,7 +190,6 @@ open class SelectorItemBase<Selector: SelectorControlable>: Control, Errorable,
|
||||
|
||||
isAccessibilityElement = false
|
||||
addSubview(mainStackView)
|
||||
mainStackView.isUserInteractionEnabled = false
|
||||
|
||||
mainStackView.addArrangedSubview(selectorStackView)
|
||||
mainStackView.addArrangedSubview(errorLabel)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user