Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validators implicitly require value #8

Open
mausch opened this issue Aug 25, 2011 · 2 comments
Open

Validators implicitly require value #8

mausch opened this issue Aug 25, 2011 · 2 comments

Comments

@mausch
Copy link
Owner

mausch commented Aug 25, 2011

IValidationFunctions has many functions that implicitly add a "required" constraint from their type.

For example: Float is string Formlet -> float Formlet, but should be string Formlet -> float option Formlet since the user might not submit a value.
There should also be a function 'a option Formlet -> 'a Formlet validating a required value.

In short, I need to decouple requiredness validation,

@mausch
Copy link
Owner Author

mausch commented Aug 25, 2011

I already did something about this for regex and email in 1e66d93

@mausch
Copy link
Owner Author

mausch commented Sep 25, 2011

Related: remove optional parameter "required" in FormElements

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant