You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As the title states, I'm just trying to conditionally require a field via the object() pipeline with valibot. I just so happens that the web page freezes when doing so.
To Reproduce
It's easy to reproduce since I have a working example on StackBlitz.
Basically, the way to trigger this bug is to modify the Required Input whenever any of the other three inputs doesn't have a value, if I were to fill those three up, modifying the Required Input doesn't freeze the web view.
Expected behavior
I should be able to conditionally require a field within a form depending on other fields.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered:
demarchenac
changed the title
[valibot 馃]: Cannot conditional require an object field since web page freezes
[valibot 馃]: Cannot conditionally require a field without freezing web page
Sep 5, 2023
Describe the bug
As the title states, I'm just trying to conditionally require a field via the
object() pipeline
withvalibot
. I just so happens that the web page freezes when doing so.To Reproduce
It's easy to reproduce since I have a working example on StackBlitz.
Basically, the way to trigger this bug is to modify the
Required Input
whenever any of the other three inputs doesn't have a value, if I were to fill those three up, modifying theRequired Input
doesn't freeze the web view.Expected behavior
I should be able to conditionally require a field within a form depending on other fields.
Desktop (please complete the following information):
Additional context
I've also added up to a related issue within the valibot repo
The text was updated successfully, but these errors were encountered: