Questions tagged [drop-down-menu]

A GUI element, similar to a combobox and a list box, which allows the user to choose one value from a list. When a drop-down list is inactive, it displays a single value. When activated, it displays (drops down) a list of values, from which the user may select one.

Sometimes referred to as a pull-down menu, drop-down list, or drop-down box, a dropdown menu is a list of items that appear when clicking on a button or text selection. For example, many programs have a "File" drop down menu at the top left of their screen. Clicking on the "File" text generates a new menu with additional options.

Drop-down list on Wikipedia

Drop-down list image from Wikipedia

21877 questions
3
votes
1 answer

Set reset button in dropdown list

I'm new to react native. I have made dropdown list but i want one reset button whenever i click it reset the default label. Here is my code of simple dropown list.I want one reset button.
shabnam singh
  • 107
  • 1
  • 10
3
votes
3 answers

Bootstrap 4 display dropdown submenu on the right side

I have a multilevel dropdown menu created in Bootstrap 4. I want to display the dropdown submenu on the right side of the parent dropdown. I have aligned the menu to the right but that's not what I want. How to display the dropdown submenu on the…
Aniket Velhankar
  • 411
  • 1
  • 4
  • 11
3
votes
3 answers

how can I capture the value from a DropDown menu at jsp to Servlet?

I want to use a dropdown menu on my JSP but... I have no idea how to capture the Value of the Selected Item and Pass it on to my Servlet and have some QUERY to add the value to my database. Can you give me some idea or clue how to code it? PS. I…
iamanapprentice
  • 411
  • 5
  • 19
  • 37
3
votes
2 answers

Set option selection on mat-select to return placeholder after selection

I have the following Angular 6 code: https://stackblitz.com/edit/angular-pl9wkw I'm tryin g to make the select dropdown reset to the place holder once a selection has been made. I am using these two lines to try and reference the…
Matthew Dewell
  • 563
  • 7
  • 30
3
votes
5 answers

disable dropdownlist items

I want to disable every fifth item in a dropdownlist. dropdownlist1.items[i].Attributes.Add("disabled","disabled"); How do I write the logic to disable every fifth item in a Dropdownlist? I am using two for loops: one for displaying items and one…
Abbas
  • 4,948
  • 31
  • 95
  • 161
3
votes
3 answers

HTML Dropdown box shifting html elements downwards

So I'm trying to make a dropdown list overlap the elements below when expanded. Unfortunately, even when elements in the same stacking context have a position, and dropdown container div set to a z-index of 2, the issue still persists; instead of…
3
votes
1 answer

Horizontal Scroll only for Dropdown Buttons

Requirements: Only Buttons should be Horizontally Scrollable Dropdown of Buttons should be in place, i.e just below the button as normal Dropdown of Buttons should not shift the paragraph below, and should merely be on top of the para Things I've…
Dhaval Jardosh
  • 7,151
  • 5
  • 27
  • 69
3
votes
4 answers

dropdown is hidden behind image

My Dropdown is hiding behind the image ( owl carousal one) when scroll down the nav bar then hover works properly. Issue showing only in the upper area where the image is there. I tried by giving z-index. By giving higher value to navbar than image…
Mohsin
  • 199
  • 5
  • 19
3
votes
3 answers

Problem with selectors in Selenium Web Driver

I have a problem with some selectors to click in my automatic test in Selenium. My test doesn't see any of the selectors that I used. There is my div which I working with: