use set(with:
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
c66281fbc2
commit
9f58543276
@ -48,7 +48,7 @@ class CheckboxViewController: ModelViewController<DefaultCheckboxModel>, Storyb
|
||||
defaultModel.labelText = "Terms and conditions"
|
||||
defaultModel.childText = "I agree to Verizon's terms and conditions click here"
|
||||
defaultModel.errorText = "Error Text"
|
||||
model = defaultModel
|
||||
set(with: defaultModel)
|
||||
|
||||
checkbox
|
||||
.handlerPublisher()
|
||||
|
||||
@ -58,8 +58,8 @@ class RadioButtonViewController: ModelViewController<DefaultRadioButtonGroupMod
|
||||
model2.labelText = "iPhone 11 Bundle 2"
|
||||
model2.childText = "Apple iPhone 11 - 128 GB\nOtterbox Case Black\nScreen Protector"
|
||||
defaultModel.selectors = [model1, model2]
|
||||
model = defaultModel
|
||||
|
||||
set(with: defaultModel)
|
||||
|
||||
//update the model
|
||||
radioButtonGroup
|
||||
.handlerPublisher()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user