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
{{ message }}
This repository has been archived by the owner on May 2, 2024. It is now read-only.
Select One and Two from the dropdowns and the validation succeeds. Select One and Three and the validation fails and the error is displayed.
However, when I embed this validation in another one, the validation still fails, yet the error is lost, resulting in getOutput f == Nothing without errors. Here is an example: https://ellie-app.com/mjLjf9kDma1/4
I suspect this is a grouping issue, but I cannot figure out what the correct expression grouping in the second example should be. I would greatly appreciate any help with this one!
The text was updated successfully, but these errors were encountered:
Thank you for looking into this! I was pretty sure I had answered during the holidays, but just noticed I hadn't. Sorry about that!
Using field to add an error works, but is not really intuitive. Maybe adding a function like failAtField implemented in terms of field and fail as shown above would make it clearer.
I am trying to write a validation which checks that two fields together satisfy some condition.
Here is a working example: https://ellie-app.com/mjLjf9kDma1/3
Select One and Two from the dropdowns and the validation succeeds. Select One and Three and the validation fails and the error is displayed.
However, when I embed this validation in another one, the validation still fails, yet the error is lost, resulting in
getOutput f == Nothing
without errors. Here is an example: https://ellie-app.com/mjLjf9kDma1/4I suspect this is a grouping issue, but I cannot figure out what the correct expression grouping in the second example should be. I would greatly appreciate any help with this one!
The text was updated successfully, but these errors were encountered: