diff --git a/VDSSample/ViewControllers/CheckBoxGroupViewController.swift b/VDSSample/ViewControllers/CheckBoxGroupViewController.swift index f1ee18e..bf9dcf0 100644 --- a/VDSSample/ViewControllers/CheckBoxGroupViewController.swift +++ b/VDSSample/ViewControllers/CheckBoxGroupViewController.swift @@ -65,13 +65,15 @@ class CheckboxGroupViewController: BaseViewController { checkbox1.value = "model 1 Value" checkbox1.labelText = "iPhone 11 Bundle 1" checkbox1.childText = "Apple iPhone 11 - 64 GB\nOtterbox Case Red\nScreen Protector" - + checkbox1.errorText = "Please Choose 1" + var checkbox2 = CheckboxGroup.CheckboxModel() checkbox2.inputId = "model2" checkbox2.value = "model 2 Value" checkbox2.labelText = "iPhone 11 Bundle 2" checkbox2.childText = "Apple iPhone 11 - 128 GB\nOtterbox Case Black\nScreen Protector" - + checkbox2.errorText = "Please Choose 2" + component.selectorModels = [checkbox1, checkbox2] component.onChange = { [weak self] group in