How to manage multi Text Field validation in material-ui react?
问题 I am creating a form in Materia-UI and React.js, and I am making validation of two TextField. I want to validate both TextFields with same error and textHelper props. Below I have show a piece of code of my work. If somebody have an idea please share with me, it will be helpful. const AddPost = ({error, helperText, handleInputChange, handleSubmit}) => { <div> <form onSubmit={handleSubmit}> <TextField value={titleValue} onChange={handleInputChange} helperText={helperText} error={error} name={