- added import individual sheets;

- fixed bugs reated to init of univerjs;
This commit is contained in:
Vitalii Kiiko
2026-04-08 10:57:16 +02:00
parent 2c4886323f
commit c52d0c8fd9
9 changed files with 476 additions and 102 deletions

View File

@@ -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)
}*/