Skip to content

Search dropdown: is it possible to "set query"? #2095

Discussion options

You must be logged in to vote

You can achieve this by adding the search value manually .

$('.ui.dropdown > input.search').val('grape').focus(); //if you do not focus, the dropdown field will not open
$('.ui.dropdown > .text').addClass('filtered');	// needed to remove the placeholder

See https://jsfiddle.net/lubber/dn4ry57a/21/

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by cheesyMan
Comment options

You must be logged in to vote
2 replies
@lubber-de
Comment options

@cheesyMan
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment