Marko Trebizan

Results 20 comments of Marko Trebizan

react specific. was only learning react :)

My override works: `tooltipFormat={d => { return String(moment(d.xValue).format("YYYY-MM-DD")) }}`

ugly hack: ``` this.cm = el} ... /> ``` and then in the code where you want to update: `this.cm.codeMirror.setValue(newValue)`

Hi, i want to reiterate on this topic. Is there a way that `forward` is run also if first schema fails? See the example here (email AND password2 is invalid)....

Ah, I'm apparently blind. Thought I missed `password2` error, but I see it. I guess it's an issue on react-hook-form together with their resolvers. I opened an issue here: https://github.com/react-hook-form/resolvers/issues/716

Yeah, really strange. So versions are: ``` "react-hook-form": "7.53.0", @hookform/resolvers": "3.9.0", "valibot": "0.42.1" ``` Here is code sandbox: https://codesandbox.io/p/sandbox/wdxr64?file=%2Fpackage.json%3A16%2C5-18%2C24

Ah, I believe this condition makes it escape early: ``` const validateAllFieldCriteria = !options.shouldUseNativeValidation && options.criteriaMode === 'all'; ```

Yes, if I now have this like so (https://codesandbox.io/p/sandbox/wdxr64?file=%2Fsrc%2FApp.tsx%3A40%2C18): ``` shouldUseNativeValidation: false, criteriaMode: "all", ``` then it works correctly. The only issue is that it doesn't work if I use...

this issue is because Ad component pushes ad on each rerender: ``` useEffect(() => { initAd(); }) ``` solution for me was to use dependency array like so: ``` useEffect(()...

I tried using existing geojson on map and I get cannot get 'lat' of undefined: https://jsfiddle.net/Lscupxqp/31/