- added import individual sheets;
- fixed bugs reated to init of univerjs;
This commit is contained in:
@@ -25,7 +25,7 @@ import {
|
||||
isEmail,
|
||||
isEmailPEC,
|
||||
isUrl,
|
||||
isMarcaDaBollo, minChecks, maxChecks, nonEmptyTables
|
||||
isMarcaDaBollo, minChecks, maxChecks, nonEmptyTables, createSpreadsheetValidator
|
||||
} from '../../helpers/validators';
|
||||
import renderHtmlContent from '../../helpers/renderHtmlContent';
|
||||
import set404FromErrorResponse from '../../helpers/set404FromErrorResponse';
|
||||
@@ -761,6 +761,14 @@ const BandoApplication = () => {
|
||||
return acc;
|
||||
}, {});
|
||||
|
||||
if (o.name === 'spreadsheet') {
|
||||
const gepafin = template?.value?.gepafin;
|
||||
if (gepafin?.validationCells?.length) {
|
||||
if (!validations.validate) validations.validate = {};
|
||||
validations.validate.spreadsheetInputValid = createSpreadsheetValidator(gepafin);
|
||||
}
|
||||
}
|
||||
|
||||
/*if (o.name === 'fileselect') {
|
||||
console.log('options::', options)
|
||||
}*/
|
||||
|
||||
Reference in New Issue
Block a user