[PR #175] [CLOSED] Do not duplicate dropdown option entry if it already exists #869

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

📋 Pull Request Information

Original PR: https://github.com/rivo/tview/pull/175
Author: @joakim-ribier
Created: 10/27/2018
Status: Closed

Base: masterHead: feature/dropdown-add-option-entry-if-not-already-exists


📝 Commits (1)

  • 8805e9b Do not duplicate dropdown option entry if it already exists

📊 Changes

1 file changed (+17 additions, -2 deletions)

View changed files

📝 dropdown.go (+17 -2)

📄 Description

Hi,

I propose this little fix (feature) for to not add a duplicate entry to a dropdown widget if the text already exists.

Sorry for advance, i don't know if this is the right way to proceed...

Thanks


🔄 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/175 **Author:** [@joakim-ribier](https://github.com/joakim-ribier) **Created:** 10/27/2018 **Status:** ❌ Closed **Base:** `master` ← **Head:** `feature/dropdown-add-option-entry-if-not-already-exists` --- ### 📝 Commits (1) - [`8805e9b`](https://github.com/rivo/tview/commit/8805e9b43a0c75e0aab6ee5ae42a166d151f3bd9) Do not duplicate dropdown option entry if it already exists ### 📊 Changes **1 file changed** (+17 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `dropdown.go` (+17 -2) </details> ### 📄 Description Hi, I propose this little fix (feature) for to not add a duplicate entry to a dropdown widget if the text already exists. Sorry for advance, i don't know if this is the right way to proceed... Thanks --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-04 01:08:19 +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#869
No description provided.