Sindre Moldeklev

Results 6 comments of Sindre Moldeklev

Sure @danielweinmann My use case is that I need to fetch a token from Googles Recaptcha before submitting the form. ```ts const handleSubmit = async (event: FormEvent) => { event.preventDefault();...

@gustavoguichard I will try to implement your ideas of either fetching the token in the background or as a part of the loader to the page. I'll update this issue...

Since the function to fetch the token comes from a hook I decided to add a useEffect which updates a hidden field in the form. That works fine for me....

Vi i Team Valp har tilsvarende behov. Vi ønsker å sende inn et objekt ala ```ts value: { arenaKode: tiltakstype.arenaKode, navn: tiltakstype.navn, id: tiltakstype.id, }, label: tiltakstype.navn, ``` der `label`...

@it-vegard Vi kan nok klare oss med en id som vi selv slår opp med. Er jo enklest for oss med en verdi, men om det skaper veldig mye mer...