From d3e88896748c2dae964710115c9022499aaf4f53 Mon Sep 17 00:00:00 2001 From: Matt Bruce Date: Thu, 15 Jun 2023 12:42:48 -0500 Subject: [PATCH] added error Text Signed-off-by: Matt Bruce --- VDSSample/ViewControllers/CheckBoxGroupViewController.swift | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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