- fixed displaying tables;
- fixed uploading signed pdf for application; - added downloading modullistica archive; - added basic table related validator;
This commit is contained in:
@@ -65,4 +65,14 @@ export const minChecks = (v, num) => {
|
||||
|
||||
export const maxChecks = (v, num) => {
|
||||
return is(Array, v) ? v.length <= parseInt(num) : false;
|
||||
}
|
||||
|
||||
export const nonEmptyTables = (v = [], colsCfg = []) => {
|
||||
//console.log('nonEmptyTables',v)
|
||||
/*const cellValues = v.map(row => {
|
||||
|
||||
return isEmpty(row)
|
||||
});
|
||||
console.log('cellValues', cellValues, colsCfg)*/
|
||||
return is(Array, v) ? v.length >= 1 : false;
|
||||
}
|
||||
Reference in New Issue
Block a user