Follow

react hook form で register を使ったときに onBlur でなんかしたいときは、 {...register('name', {onBlur: myCustomOnBlur})}をすればいいのか。 {..register('name')} onBlur={myCustomOnBlur} だと、上書きになるのね。 もうちょっと見てみよ。

· · Web · 0 · 0 · 0
Sign in to participate in the conversation
Mastodon

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!