Dropdowns are toggleable, contextual overlays for displaying lists of links and more.
Questions tagged [dropdown]
6384 questions
151
votes
10 answers
Warning: Use the 'defaultValue' or 'value' props on
SCENARIO A user has a dropdown and he selects an option. I want to display that dropdown and make that option a default value which was selected by that user last time.
I am using selected attribute on option but React generates a warning asking me…

Piyush
- 3,015
- 3
- 18
- 31
66
votes
18 answers
Select default option value from typescript angular 6
I have a select html like this:
61
votes
11 answers
How should I customize DropdownButtons and DropdownMenuItems in Flutter?
The default DropdownButton with DropdownMenuItems returns a light-grey dropdown. How should I customize the dropdown (e.g. background color, dropdown width)? I can change the style property in both DropdownButton and DropdownMenuItem, like…

Mary
- 18,347
- 23
- 59
- 76
52
votes
8 answers
Flutter dropdown text field
I am still new to Flutter. Is there an example of a material dropdown list text field? I saw the example on Material Text Field but I didn't find anywhere in the documentation on how to implement this. Thanks for your help on this.

Edmand Looi
- 3,331
- 6
- 19
- 21
47
votes
6 answers
How can we change the width/padding of a Flutter DropdownMenuItem in a Dropdown?
In Flutter, I can build a Dropdown with DropdownMenuItems, like this:
The DropdownMenuItems I add are always wider than the dropdown itself:
How do you adjust the width of the DropdownMenuItem, or remove the extra horizontal padding?
My…

Mary
- 18,347
- 23
- 59
- 76
43
votes
12 answers
Drop-Down List in UITableView in iOS
How to Create this type of tableview in iOS??
Here, If we tap on 1st row 'Account', then automatically it scrolled with some more rows which is showing in Image.
And if again we tap on Account, then that view will be hidden.

Meet Doshi
- 4,241
- 10
- 40
- 81
32
votes
6 answers
How do I change the dropdown icon in material-ui select field?
I am using material-ui select field. I want to change the given drop down icon to a different font icon. How to achieve this? I don't see any option to over-ride this style

PCK
- 1,254
- 6
- 20
- 37
31
votes
7 answers
Parser Error: Got interpolation ({{}}) where expression was expected
I'm using ng-bootstrap as a substitute for ui-bootstrap in angular2.
My html is as follows:
-
Akhilesh Kumar
- 9,085
- 13
- 57
- 95
28
votes
8 answers
Adding icon to left of DropDownButton (expanded) in flutter
I want to add icon to left of DropDownButton but can't find a way to do so.
What I want to achieve is like this:
I have tried following code but it places icon to right where I don't want it and it also overrides arrow icon:
`@override
Widget…

Muhammad Faizan
- 1,891
- 2
- 18
- 37
24
votes
5 answers
How to change the position of a drop down arrow in CSS
NOT A DUPLICATE-please read carefully and understand the question.I don't want to replace the arrow. I want to keep the arrow as the way it is and change it's position. appearance:none can hide the arrow and by setting background:url() I may be able…

Ramesh
- 2,297
- 2
- 20
- 42
21
votes
4 answers
How to open DropDown dialog below DropdownButton like Spinner in Flutter?
I want to open DropDown dialog below DropdownButton like Spinner in Flutter. Right now its open over Button widget and when I select last item and re-open as down side.
Code:
import 'package:flutter/material.dart';
class DropDown extends…

Sagar Zala
- 4,854
- 9
- 34
- 62
21
votes
1 answer
List of all country languages for dropdown select menu HTML FORM
Do you have a list of all languages that are commonly used in html forms?

bxorcloud
- 659
- 1
- 7
- 20
20
votes
6 answers
Uncaught TypeError: Cannot read property 'setAttribute' of undefined at Object.onLoad
Any ideas what might be causing this error?
List of my includes:

Tino
- 539
- 2
- 6
- 18
18
votes
5 answers
Set default value for dropdown button in flutter
I have a dropdown button which works fine, but when I try to set a default value it will fail with the following error:
'package:flutter/src/material/dropdown.dart': Failed assertion: line 620 pos 15: 'items == null || items.isEmpty || value ==…

Alexandra Damaschin
- 761
- 3
- 13
- 28
16
votes
3 answers
How to perform Filter using Multi Select Dropdown in Yii2 GridView
Here i like to explain my problem clearly,
am trying to perform multi select dropdown filter, before this multiselect filter i have a basic filter.
Am using kartik-v dropdown extension
search.php

Nodemon
- 1,036
- 2
- 25
- 47