added error Text

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
Matt Bruce 2023-06-15 12:42:48 -05:00
parent 815e074ae5
commit d3e8889674

View File

@ -65,13 +65,15 @@ class CheckboxGroupViewController: BaseViewController<CheckboxGroup> {
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