To get the selected option (both index and text), use the DropDown.GetCurrentOption() method: i, s := form.GetFormItem(0).(*tview.DropDown).
確定! 回上一頁