I will disable inputs using isFetching prop, but this becomes redundant as I have to keep this in every input field. Is there a way to disable the whole form? Like the disable property in the <form> or something else?
<form> <input type="text" disabled={this.props.isFetching} /> <input type="text" disabled={this.props.isFetching} /> </form>
javascript html reactjs forms
Pratish shrestha
source share