If I have a ref to the form DOM element and call submit() on it, ... you hit <enter> in the input, it properly calls the onSubmit (alerts).
確定! 回上一頁