updated code

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
Matt Bruce 2024-05-20 12:17:54 -05:00
parent b2cc52acc6
commit 300d810659
2 changed files with 0 additions and 5 deletions

View File

@ -162,10 +162,6 @@ class DropdownSelectViewController: BaseViewController<DropdownSelect> {
component.options = moreOptions
/// callback to know which option chose
component.onItemSelected = { index, option in
print("selected index: \(index) text: \(option.text) value: \(option.value)")
}
component.onChange = { dropdown in
guard let option = dropdown.selectedItem, let index = dropdown.selectId else { print("nothing selected"); return }
print("selected index: \(index) text: \(option.text) value: \(option.value)")

View File

@ -34,7 +34,6 @@ class TextAreaViewController: BaseViewController<TextArea> {
override func viewDidLoad() {
super.viewDidLoad()
addContentTopView(view: component)
component.text = "Starting Text"
setupPicker()
setupModel()
}