[PR #719] [CLOSED] Fix AddDropDown #1025

Closed
opened 2026-03-04 01:09:04 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/rivo/tview/pull/719
Author: @moson-mo
Created: 4/3/2022
Status: Closed

Base: masterHead: master


📝 Commits (2)

📊 Changes

2 files changed (+4 additions, -2 deletions)

View changed files

📝 README.md (+1 -0)
📝 form.go (+3 -2)

📄 Description

SelectedFunc should be assigned after setting the CurrentOption.
Otherwise the function is already called when the DropDown is being added.

Fixes #718


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/rivo/tview/pull/719 **Author:** [@moson-mo](https://github.com/moson-mo) **Created:** 4/3/2022 **Status:** ❌ Closed **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (2) - [`613db90`](https://github.com/rivo/tview/commit/613db90549a86631d73332266089906d8676c091) Fix AddDropDown - [`53cae82`](https://github.com/rivo/tview/commit/53cae823c28d294a7efb5617985bc099abd6ca93) Add pacseek project in README ### 📊 Changes **2 files changed** (+4 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+1 -0) 📝 `form.go` (+3 -2) </details> ### 📄 Description SelectedFunc should be assigned after setting the CurrentOption. Otherwise the function is already called when the DropDown is being added. Fixes #718 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-04 01:09:04 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/tview#1025
No description provided.