Skip to main content

All Questions

Tagged with
-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
1 answer
44 views

Displaying selected dropdown items in specified order

I am working on a React application and I want to build a dropdown where the user can select the working days of the employee. I have implemented a custom React element with NextUI, which maps the ...
deannyboy's user avatar
0 votes
1 answer
31 views

display buttons in outer array object and check box with inner array object

i am trying to display two buttons in outer nested array object in select dropdown menu and checkbox in inner nested array object and i have mentioned below the nested array below dropwdown is showing ...
Tricky Tipsy's user avatar
0 votes
1 answer
94 views

Trying to fetch <select> from array in React

I am trying to fetch a dropdown select list from an array: Select user ids from a smart contract: const [ownerIds, setOwnerIds] = useState(null); useEffect(() => { const checkOwners = async () =&...
ppm.eth's user avatar
  • 19
0 votes
1 answer
29 views

Each Dropdown list in ReactJS Array Map share the same toggle boolean so they all open and close at the same time. How to make this work individually?

I have an array that for every item in the array a drop down list is dynamically generated. Right now each drop down list share the same toggle boolean so they all open and close at the same time, how ...
Ahmad Irfan Effendi's user avatar
0 votes
1 answer
26 views

Items in array are returned in only one JSX element using .map()

New to react and still learning. I have an assignment to create a filter component with three dropsdowns that takes information from a JSON file. The idea is the results in the second dropdown will be ...
Jack MS's user avatar
  • 11
0 votes
1 answer
89 views

How would I iterate through array and display input boxes based on values?

I am new to react and I created I have a json like this: const parent: [{name:will, kids['child1', 'child2']} {name: 'kia' kids['child1']} {name: 'jim', kids['child1', '...
JTHDR's user avatar
  • 51
0 votes
0 answers
37 views

How can I add the dropdown selected values dynamically with Handlers?

I don't know how to get values from multiple dropdowns created dynamically based on the fetched data [drugs]. I have 1 input and 2 dropdowns. each one with its own handler: - Amount : ...
Tarik EN-NAKDI's user avatar