Javascript – Disable all the inputs, and buttons inside a react component
Is there a way to disable all the inputs, buttons, selects inside a react component on the basis of a state variable, or a prop of the component? My react component has multiple such buttons, and inputs. Some of them…