I’m making a React App for my Football team to keep track of Payments and Debts for each Member. I’m trying to search the database for Records for each Season and delete a Member if no records are found. Currently the Member gets deleted then the database searched. This is the code block (it can also be seen with the
Tag: reactjs
why is MUI CORE basic rating code is giving me setValue as undefined?
i tried using MUI CORE for first time and it’s giving me arror as i wanted to use active first rating and set value is not defined i Answer Ey! The only thing that i can see is that you are trying to use “setValue” in the “onChange” event handler for the “Rating” component, but there is not a “setValue”
How can I implement a table with nested dropdown items?
I’m trying to make a table like this: Table elements can contain thousands of child dropdown elements. I am writing code in React and so far I have no idea and have not figured out how it can be done in a more optimized way. Right now I am trying to work with a data structure like this Current implementation
Results don’t show until something is typed into text area
Currently making a small app that translates text to binary or ASCII. I’ve run into an issue where my code only works if you follow these steps type something in the text area choose your language press the button I want to make it so I can do it this way as well choose your language type something in the
how to check if multiple list items has the class Name “valid”
I am working on a password validation process. when the password input in a Sign up page is clicked a list of requirement is shown And if the created password respect one of the requirements a “valid” className will be added to the li that will add additional styles to it. what I want to do next is to check
Why do I get NaN value in react?
Whilst I am doing cart in react, I have no idea why I keep getting NaN value – only from a specific object data. When I have the following data list: #1 ItemsList.js And the following code, please look at the comment line. #2 Goods.jsx What should I do to solve NaN? There seems to be no way to make
Integrate Nodejs Backend with React Frontend App
I am building an app that uses node.js for backend and react for frontend. In the backend, i have 2 functions that implement a post request. In my react function: I want to show a spinner while waiting for the response data from the API request. For the triggerGrading function which only returns ok if successful, I want to be
unable to change content of duplicated modal card
“` I’ve duplicated six modal cards that operate OK with javascript, but they are all identical and I can’t change different html content. I spent the entire day trying to solve this problem while feeling panicked. I have a deadline until Monday and other tasks to complete, so if I don’t succeed here, I won’t obtain my first internship. Please assist
JS – How to concat a dynamic variable name using two objects?
I have this first array: And a second array fill with some data. props.data.data has the following array: I’m trying to mount a HTML table in a react component using map functions, but due to the dynamic column field, the value returns undefined and i don’t know why. import React from ‘react’; So, how can i concat the dynamic value
How do I render a react portal modal with different children?
Right now, I have a react portal rendering a ‘pinnable’ side drawer modal that will display based on a redux state. The contents of the modal will have information based on where that modal was pinned from, in this case my notifications. The problem I’m running into at the moment is that since the modal will be pinnable in multiple