score:2
Accepted answer
answer is in comment.
it didn't clear because you never bind the state value to your <input>. change it like this <input value={this.state.updatecategorytitle} ...other props... />
Source: stackoverflow.com
Related Query
- Can't clear input field after pressing button
- Clear input field after button clicked
- Clear form input field values after submitting in react js with ant-design
- reactjs clear date input after clicking clear button
- Unable to clear the input field after submitting the form in React
- React Material UI - Autocomplete Component button after clear field button
- How to clear input field after clicking submit in react js redux
- (React.js + Hooks) How to reset input field after button click?
- React clear input field after submit form
- how can I clear input field in react after click submit in my case?
- Using React and Redux, how would you clear an input field after a successful redux-thunk completion?
- How to empty a list to clear input field after form submission?
- Clear Input from Textbox after Button clicked
- reactjs clear file input field after submit
- Add item on the list when pressing Enter and clear input field
- React Formik - app performs unwanted request (submit) after pressing Enter key in the input field
- Unable to clear input field automatically after clicking on submit (React)
- How do I clear the input field after an incorrect entry
- How to clear input field and reset select option after creating data in react
- Implement a clear button for a custom input field to trigger required error with react hook form
- how can I clear input field in react after click submit?
- ReactJS clear input value (can not use submit) after button click
- How to clear the input field (remove the search term) after the search?
- How to set focus on an input field after rendering?
- In React ES6, why does the input field lose focus after typing a character?
- Clear an input field with Reactjs?
- How to clear input field in Draft-js
- How to clear the autocomplete's input in Material-ui after an onChange?
- how to get input field value on button click in react?
- How to use useRef hook to select next TextInput after pressing next keyboard button with redux-form
More Query from same tag
- How to debug err: "Uncaught (in promise) Missing Argument Unit"
- React Native App always opening on the login screen
- How to add font-awesome-icon to React Component from json?
- How to conditionally fetch user data based on logged-in state with SWR?
- How can we load translations using api calls instead of having them defined in static jsons? How can this be done in React-i18next?
- React: how to change page when using react-navigation and react-router?
- display input fields in customized way
- How to get multiple Doc objects in Firebase 9 in React? and get multiple docs from firestore using its doc id?
- Firebase pagination using a timestamp/date as the orderBy
- dynamic css grid layout, keeping some elements on the same line
- React Modal makes page goes down
- React State Improvement
- How to define fallback route properly in react-router-dom
- how to build a React application as a widget inside another website
- @types/styled-components Duplicate identifier FormData
- How to loop this state in React?
- Axios - Refresh token loop
- How to close react-burger-menu when link click in a component?
- Display alert with email id
- i want to show a different image when button is clicked
- Data from one JSON file is overwriting another JSON dataset when trying to use react-select module in a form in React
- "TypeError: Cannot read property 'map' of undefined" but can console log result completely fine?
- How convert class component to functional with function constructor?
- How to dynamically change className of a component in React?
- React: initial render fires before state is set (via ajax)
- Using multiple `useState()` states together
- React how to display label even when empty
- How to store changes in state using contenteditable element?
- Connected React Router and TypeScript for `match`
- How can get Value from child component in react?