Darren Jansson

Results 5 comments of Darren Jansson

There is a bug in minLength validation (I've submitted pull request #486 for that) but even with that fixed the problem persists.

OK, so I've found the problem. [The validator sets 0 length string values to be undefined](https://github.com/Textalk/angular-schema-form/blob/development/src/services/validator.js#L30-L32). I added `console.log(data, typeof data, data.length);` at the top of the tv4 `validateStringLength` function...

So the above only fixes minLength checks on keyboard input, the issue is still present on form submission. http://schemaform.io/examples/bootstrap-example.html#/a8016f12f91cc910b115 The form above does not follow the JSON Schema as it...

Thanks for the pull request, however maybe you could enter a slightly aggressive tile next time? I'd love to look through your changes but as you've changed the indenting to...

@blai I'll try and look at merging this week. Unfortunately I can only fix project related bugs at work, so that's why I've done a couple that you've already spotted....