-
As per discussion with evan, invalidator can look something like:
```py
def submit_listen(listen_input: ListenInput):
invalid_reason = listen_entity.check_invalid
if invalid_reason:
…
-
Current validation is field level only. It would be great if there was the ability to validate the form as a whole with the error message appear above or below the form (preferably configurable).
M…
-
When we pass args to command we need to apply checks manually on
- number of arguments
- argument type like number or string
like
``` bash
# Here we are checking no. of args should not be zero
# b…
-
__tldr;__ We propose a guide that will teach people how to work with forms, including:
- The different types of form elements, including custom elements.
- Using types and setters on ViewModels.
…
-
When requiring [validate.js](https://github.com/ansman/validate.js/), the packaging fails.
`
var validatejs = require('validate.js');
`
However, there is a workaround:
`
var validatejs = require('v…
mosch updated
6 years ago
-
This release will include everything for [Improve routing to components (and testing)](https://github.com/canjs/canjs/issues/4030).
Things that need release:
- [x] can-ajax (1.x-legacy)
- [x] c…
-
Basic types:
- object (plain object)
- array
- integer
- number
- string
- boolean
- null
Example:
``` javascript
validate.single([1, 2, 3], { type: 'array' }); // undefined
validate.single('123', {…
-
We need to validate the forms to make sure that we are not vulnerable I was looking at https://validatejs.org/ with this we can utilize more secure transactions!
-
Hi,
I'm facing problem while running the given examples in node js environment.
this is how i'm using it.
``` javascript
var validatorJS =
require('validator.js').Validator;
var validator = ne…
-
`2.5.2` to `2.5.3` PR closed without merge: https://github.com/canjs/canjs/pull/4339
`master` version is `can-define@2.5.2`: https://github.com/canjs/canjs/blob/master/package.json#L68
---
Ve…