Edmund Hung

Results 172 comments of Edmund Hung

Thanks for getting me a repo. This reason why it doesn't work is because of the time the lastResult is updated and the time the defaultValue updated is different in...

Yeah 😅 This might be resolved with [single fetch](https://github.com/remix-run/remix/discussions/7640). I probably should talk to the team and see if they wanna change this behaviour together.

> Trying to reset the form would also keep the most recent values before save for me It would be great if you can provide a repo so I can...

We should add a tips to the remix integration docs.

@JasonColeyNZ I have added a [tips](https://conform.guide/integration/remix#tips) recently about resetting the form from the Remix action. This is basically the same as what I mentioned in this thread. Hope it helps.

If I understand correctly, you are expecting input A to be revalidated when you switch the type back. The behaviour here is indeed working as per the current design. As...

> One confusing thing is that the validation error for InputA is still there, even though it's a "new" input after unrendering/rendering it. That sounds like a bug which I...

You can now expect the exact behaviour with v1.0.0.

A repo would be great for this case. How are you conditionally rendering the custom input? I can think of an issue with the hidden input messed up if you...

I think the issue is clear to me now. So a repo is not needed. Thanks and sorry for the trouble so far. So what's going wrong? The `useInputControl()` hook...