remvoed errorable from radiobox

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
Matt Bruce 2022-09-08 15:30:47 -05:00
parent 36106d882d
commit e9f033666b

View File

@ -43,13 +43,6 @@ class RadioBoxGroupViewController: ModelScrollViewController<DefaultRadioBoxGro
addFormRow(label: "Text", view: textField)
addFormRow(label: "Sub Text", view: subTextField)
addFormRow(label: "Sub Text Right", view: subTextRightField)
addFormRow(label: "Error", view: showErrorSwitch)
showErrorSwitch
.publisher(for: .valueChanged)
.sink { [weak self] sender in
self?.radioBoxGroup.hasError = sender.isOn
}.store(in: &subscribers)
disabledSwitch
.publisher(for: .valueChanged)
@ -125,7 +118,6 @@ class RadioBoxGroupViewController: ModelScrollViewController<DefaultRadioBoxGro
//set UI values
surfacePickerSelectorView.text = model.surface.rawValue
disabledSwitch.isOn = model.disabled
showErrorSwitch.isOn = model.hasError
textField.text = model1.text
subTextField.text = model1.subText
subTextRightField.text = model1.subTextRight