Skip to main content

All Questions

Tagged with
0 votes
0 answers
31 views

Is it possible to set a default value for an Material React Table with a select

I am trying to make a table with Material UI Table, and when I edit or add a row some values are to be selected from a dropdown. That works as expected, but I would like to have one of the dropdown ...
Annemoon de Groen's user avatar
0 votes
1 answer
35 views

Multiselect dropdown doesn't keep the right input checked

I'm building a multiselect dropdown with a field to search for options. It's working perfectly except for one aspect: 1 - Here I just selected the options. The first input shows the state of the ...
Thiago Barboza's user avatar
1 vote
1 answer
64 views

Prevent close when clicking Ant Design Dropdown submenu item

I have an Ant Design Dropdown component in a React application. The dropdown includes submenus. Right now, the submenu items close when they're clicked on. I would like them to instead remain open on ...
Evan93's user avatar
  • 351
0 votes
0 answers
38 views

Bootstrap 5.3 Dropdown doesnt open (react, typescript)

I tried to place a simple dropdown menu in my navbar, but somehow it is not opening. I am very new to coding and webdev. With the imports it should normally work. I checked if Popper is installed. ...
Tim Lodes's user avatar
0 votes
0 answers
18 views

Dark theme on pop lists in Material UI

Im working on a project using Material UI and every list appears in dark theme when extended. Though it was fault of my computer theme but it continue happening with light mode. By the way it should ...
Carlos Nuñez's user avatar
0 votes
0 answers
38 views

Country Dropdown Auto-Select Causes 'No Options' Interference in Province Dropdown in React

I’m working on a React project with two dependent dropdowns: A SelectCountry dropdown for selecting a country. A SelectProvince dropdown for selecting a province, which dynamically loads its options ...
flash's user avatar
  • 1,519
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
1 answer
44 views

SyntaxError: Unexpected token '<' in React

function SubmitButton(){ return ( <button>Submit</button> ); } Newbie here, trying to make a dropdown for user to select a year and hit Submit. I don't understand why I keep getting a ...
stardew's user avatar
1 vote
1 answer
59 views

Conditional dropdowns in React JS

I'm building a Dnd Character Sheet builder. I need 6 dropdowns for each of the 6 main stats. I want them all to have access to an array of the values [8,10,12,13,14,15], but if one dropdown selects a ...
Samuel Cherry's user avatar
0 votes
1 answer
48 views

Changing the color of the dropdown select icon when hovering over the icon in Material UI

I’m working on a React.js project using Material UI. I want to change the color of the dropdown select icon when I hover over it. However, I only want the icon to change color only when I hover over ...
yao's user avatar
  • 1
0 votes
0 answers
121 views

Change PrimeReact Dropdown disabled option behavior

I'm having an issue with PrimeReact's dropdown. If an option is disabled, therefore it can't have any kind of beahavior aside from not being clickable and with no action. Is there any way to change ...
Felipe Rodrigues's user avatar
0 votes
1 answer
120 views

Can't reszie fluent ui dropdown component placed under fluent ui datagrid

I created a fluent ui data grid using this guide https://react.fluentui.dev/?path=/docs/components-datagrid--docs and from that doc, there's a doc for dropdowns and I placed a dropdown component in ...
Josh's user avatar
  • 73
-1 votes
1 answer
69 views

Material UI React JS Select component with multiple value unable to deselect when more than 1 item is selected

So i am trying to implement a multiselect dropdown in material ui with the following conditions The dropdown will have [0 Apples, 1 Oranges, 2 Grapes] By default 0 Apples should be selected None of ...
Roy33's user avatar
  • 3
0 votes
0 answers
21 views

Component contains an input of type button with both value and defaultValue props. Input elements must be either controlled or uncontrolle

I am getting an error I theoretically understand, but practically cannot solve. import React, {CSSProperties, useEffect, useRef, useState} from 'react'; import {SelectOption, useSelect} from '@mui/...
four-eyes's user avatar
  • 12.6k
0 votes
0 answers
32 views

Dropdown multi select not maintaining after closing out

type SortingKey = | "Duration" | "Favorited Territories" | "Favorited Offices" | "Requestable" | "Non-Requestable" | "Non-...
Dominick Ruggiero's user avatar

15 30 50 per page
1
2 3 4 5
33