All Questions
8 questions
-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 ...
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 ...
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 ...
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 () =&...
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 ...
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 ...
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', '...
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 : ...