Add an onChange prop to the input field. Use event.target.value to get the input field's value and update the state variable.
確定! 回上一頁