added percentage to textFields array

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
Matt Bruce 2022-12-15 15:34:35 -06:00
parent f64461e165
commit c166584797

View File

@ -69,6 +69,8 @@ class ButtonGroupViewController: BaseViewController {
let largeLabel = Label().with{ $0.text = "Large Button Group"; $0.typograpicalStyle = .BoldTitleSmall }
let smallLabel = Label().with{ $0.text = "Small Button Group"; $0.typograpicalStyle = .BoldTitleSmall }
override func allTextFields() -> [UITextField]? { [widthTextField, percentageTextField] }
override func viewDidLoad() {
super.viewDidLoad()
@ -102,8 +104,6 @@ class ButtonGroupViewController: BaseViewController {
setupModel()
}
override func allTextFields() -> [UITextField]? { [widthTextField] }
func setupForm(){
addFormRow(label: "Button Action", view: label)
addFormRow(label: "Surface", view: surfacePickerSelectorView)