Skip to main content

All Questions

0 votes
0 answers
38 views

Fluent ui Dropdown Still holding Selected value even my array and selected state are empty

I am working on word addin . i am using react framework using youman genrator. I have dropdowns that get data from an api . i am saveing this data in state .and use this state for showing dropdown ...
Muhammad Abu Bakr's user avatar
0 votes
0 answers
24 views

Dropdown list does not update the selected item immediately React

I use 2 dropdown lists to implement my requirement. I get the data from an endpoint and add 2 items to that data. I will change these data into dropdown lists. When I select the BLEDevice and Camera ...
Muhammed Didin's user avatar
0 votes
0 answers
57 views

How to change color of the <DropdownList> (from react-widgets) placeholder text?

<DropdownList data={baseYearDropdownOptions} containerClassName={classNames(styles.dropDownList, 'custom-react-dropdown')} ...
Keerthi's user avatar
  • 51
1 vote
0 answers
48 views

Is there any way I can keep my placeholder unchanged whenever I select an option on my react native element dropdown?

Im new to react native, I implemented a custom screen with multiple SelectCountry components representing different sections of my application, I want my drop down placeholder unchanged when an option ...
Les Jetskii's user avatar
0 votes
1 answer
86 views

Unable to select from React Dropdown

I'm trying to develop a React Dropdown from scratch. What's missing here in my component is that it's not showing the selected item from the dropdown. I know that I'm missing some logic for dropdown-...
Fuaad's user avatar
  • 432
0 votes
1 answer
1k views

react-bootstrap How Do You Split A Dropdown.Item?

I am using react-bootstrap to create a dropdown menu using the Dropdown component. Although I can get the dropdown to easily work, I want to further split one of the options to be a Split button. Here ...
rom's user avatar
  • 664
0 votes
1 answer
2k views

Dropdown menu not inherit its parent position

<div className="inner-dark-section"> <div className="search-section" style={{ width: "100%", position: "...
Athavan T's user avatar
  • 378
0 votes
0 answers
158 views

How do I add a drop down list in react js within a table?

var ListItem = React.createClass({ displayName: "ListItem", getInitialState: function () { return {fruit: this.props.value.product.fruit, meat: this.props.value.product.meat, vegetable:...
azububu's user avatar
0 votes
0 answers
666 views

Sidebar Nested Dropdown Menu Reactjs

I tried to build a nested dropdown menu from scratch on a sidebar. The issue is when I open a nested menu it opens all nested menu that is in the sidebar at the same time, how should I manage to only ...
Mugi's user avatar
  • 49
0 votes
1 answer
637 views

How to close CSS only dropdown menu after click any link in dropdown?

I am developing a React Website, where I have a navigation menu with 2 dropdowns. On desktop, the Dropdowns are showing after hovering in the parent menu. There I used only CSS hover to show the ...
DevzValley's user avatar
1 vote
1 answer
2k views

How to create dropdown list with description in React

I am trying to create a dropdown list with description in React. For reference you can see the image below: Is there any other way using bootstrap or Material-UI so I can achieve this? I am using ...
SATISH RAJNALE's user avatar
0 votes
0 answers
59 views

How can I use useState to troggle a dropdown menu by clicking a navbar item that I am getting from a looped js object

I made a NavBar looping an object located in an external JS file inside my project. Here is a code example of my project. App.js File: export default function App() { // Creting useState for ...
Jorge's user avatar
  • 129
0 votes
0 answers
181 views

React Native <View> to front of UI

I have a View component I'd like to bring to the foreground in my React Native App. The component I'm trying to build is a "Select" input similar to the Web, where the dropdown of options ...
JamesRichardson's user avatar
1 vote
1 answer
169 views

Hover on an option element?

Can I hover an option element to show more options? I want to have a dropdown nested component like the following screenshot I have this array of objects and pass it to the DropDown component, if the ...
Pep's user avatar
  • 677
3 votes
0 answers
321 views

Reach UI - intercept click event on menu item select?

Using reach-ui - Is it possible to prevent/intercept the menu-button (https://reach.tech/menu-button) from closing the menu when clicking/selecting an option? I am wanting to use it for a multi-level ...
mrseanbaines's user avatar

15 30 50 per page