menu
Channels
Team
Posts
Members
Info

Custom Register Validation

useEffect(() => { register( { name: key, }, { pattern, validate }) } The validations and regex pattern are not working in custom register. Is this an expected behavior?

thumbsup
0
message-simple
12

Discord channel

We have a discord channel now: https://discord.com/invite/tMsTW9m

thumbsup
1
message-simple
0

'Debounce' validation trigger mode

Hello. I am not an experienced web-developer. Just have read an article about debounce and throttling and I am wondering why these techniques are not built-in in libraries like formik/RHF? Triggering validation on each character input is a bad performance practice. But鈥

thumbsup
5
message-simple
10

pls help. how do i trigger touched in formState

i have tried every examples but i don't get it

thumbsup
0
message-simple
3
46dPinned# General

Github Diccussion

Hi guys, We are moving more towards Github Discussion for Q&A, please make your way towards there. https://github.com/react-hook-form/react-hook-form/discussions 鈥

thumbsup
5
message-simple
1

Customise Upload file input need to use the ref

Hi, I'm trying to customise input file and need to use the ref so that the button triggers the click. But the ref is already used by the register. How to make this work?

thumbsup
0
message-simple
2

form data of react-select components is cleared on submit

Hi guys I have an issue with the latest version of this awesome library! The moment I click the submit button the values set (using setValue) for a few react-select Selects are cleared. Any idea why this might be happening? Thanks for helping out <3

thumbsup
0
message-simple
7

How to update the model as the input values are changing?

Hi, I am looking for option to update the model bound to the form as I am changing/typing something in my input fields. e.g: @ https://codesandbox.io/s/react-hook-form-usefieldarray-44i6h I want to show the value the user is typing in the firstname/lastname fields 鈥

thumbsup
0
message-simple
40

Can we use React Hook Form without form?

thumbsup
0
message-simple
10

#WizardFormFunnel

Hi, thanks for excellent tool. I have a question, so if someone have any idea I'd appreciate your help. I am mirroring https://react-hook-form.com/advanced-usage#WizardFormFunnel example (but with redux), and I have use case where I should store data of each step upon step leave鈥

thumbsup
0
message-simple
25