How can I save an input with Material-UI TextFields in Typescript. My idea was to have a default value in the TextField and with a button, it should save the new value from the user.
How can I save an input with Material-UI TextFields in Typescript. My idea was to have a default value in the TextField and with a button, it should save the new value from the user.
you should use onChange for Textfields
onChange={(e)=>this.saveTextFields(e.target.value)}