Added support for regex validation

This commit is contained in:
Giuseppe Digilio
2018-07-06 14:20:09 +02:00
parent 7315337c64
commit ccb50f69d6
7 changed files with 33 additions and 11 deletions

View File

@@ -71,7 +71,10 @@ describe('RowParser test suite', () => {
row2 = {
fields: [
{
input: {type: 'onebox'},
input: {
type: 'onebox',
regex: '^[a-zA-Z0-9]+$'
},
label: 'Title',
mandatory: 'false',
repeatable: true,