... const value = target.type === 'checkbox' ? target.checked : target.value; ... and handling form submission, Formik is one of the popular choices.
確定! 回上一頁