Skip to content

Is it possible to remove the filter part from the selection? #8

Answered by erikgeiser
Allyedge asked this question in Q&A
Discussion options

You must be logged in to vote

Sorry for the late reply, I always forget to keep track of these Q&A questions. Of course you can remove the filter by removing the selection.Filter function like this:

sp := selection.New("Pick one!", selection.Choices([]string{"a", "b", "c"}))
sp.Filter = nil

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by erikgeiser
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants