[GH-ISSUE #682] Remove option from dropdown #496

Closed
opened 2026-03-04 01:05:30 +03:00 by kerem · 3 comments
Owner

Originally created by @abdfnx on GitHub (Dec 23, 2021).
Original GitHub issue: https://github.com/rivo/tview/issues/682

it's a nice idea to remove option from tview.DropDown

I would like to add this feature @rivo

Originally created by @abdfnx on GitHub (Dec 23, 2021). Original GitHub issue: https://github.com/rivo/tview/issues/682 it's a nice idea to remove option from `tview.DropDown` I would like to add this feature @rivo
kerem closed this issue 2026-03-04 01:05:30 +03:00
Author
Owner

@rivo commented on GitHub (Feb 15, 2022):

Do you mean something like this:

DropDown.RemoveOption(index int)

?

<!-- gh-comment-id:1040544897 --> @rivo commented on GitHub (Feb 15, 2022): Do you mean something like this: `DropDown.RemoveOption(index int)` ?
Author
Owner

@abdfnx commented on GitHub (Feb 15, 2022):

yeah, like this

<!-- gh-comment-id:1040598269 --> @abdfnx commented on GitHub (Feb 15, 2022): yeah, like this
Author
Owner

@rivo commented on GitHub (Feb 16, 2022):

See the latest commit.

<!-- gh-comment-id:1041326759 --> @rivo commented on GitHub (Feb 16, 2022): See the latest commit.
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#496
No description provided.