Skip to content

minLength validation not working in array items #487

Open
@frontendbeast

Description

@frontendbeast

In the example below, a minLength of 1 is set on the array items, but the form allows submission with an empty array item field.

http://schemaform.io/examples/bootstrap-example.html#/67dd0bb3fbacee29cd39

However, if I set items to be objects and set the name field to be required, then it will work, but that leaves the form looking odd.

http://schemaform.io/examples/bootstrap-example.html#/c6e3ec60d055408d74e9

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions