remvoed errorable from radiobox
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
36106d882d
commit
e9f033666b
@ -43,13 +43,6 @@ class RadioBoxGroupViewController: ModelScrollViewController<DefaultRadioBoxGro
|
|||||||
addFormRow(label: "Text", view: textField)
|
addFormRow(label: "Text", view: textField)
|
||||||
addFormRow(label: "Sub Text", view: subTextField)
|
addFormRow(label: "Sub Text", view: subTextField)
|
||||||
addFormRow(label: "Sub Text Right", view: subTextRightField)
|
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
|
disabledSwitch
|
||||||
.publisher(for: .valueChanged)
|
.publisher(for: .valueChanged)
|
||||||
@ -125,7 +118,6 @@ class RadioBoxGroupViewController: ModelScrollViewController<DefaultRadioBoxGro
|
|||||||
//set UI values
|
//set UI values
|
||||||
surfacePickerSelectorView.text = model.surface.rawValue
|
surfacePickerSelectorView.text = model.surface.rawValue
|
||||||
disabledSwitch.isOn = model.disabled
|
disabledSwitch.isOn = model.disabled
|
||||||
showErrorSwitch.isOn = model.hasError
|
|
||||||
textField.text = model1.text
|
textField.text = model1.text
|
||||||
subTextField.text = model1.subText
|
subTextField.text = model1.subText
|
||||||
subTextRightField.text = model1.subTextRight
|
subTextRightField.text = model1.subTextRight
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user