- added spreadsheet form element;

This commit is contained in:
Vitalii Kiiko
2026-03-25 12:28:34 +01:00
parent d36f73a068
commit 61e03f304b
16 changed files with 382 additions and 11 deletions

View File

@@ -822,7 +822,7 @@ const DomandaEditPreInstructor = () => {
storeSet('unsetAsyncRequest');
}
const doCreateAppointment = () => {
/*const doCreateAppointment = () => {
setAppointmentData({
title: '',
text: '',
@@ -830,7 +830,7 @@ const DomandaEditPreInstructor = () => {
amount: 0
});
setIsVisibleAppointmentDialog(true);
}
}*/
const setAppointmentFieldValue = (name, value) => {
const newData = wrap(appointmentData).set(name, value).value();
@@ -1493,6 +1493,7 @@ const DomandaEditPreInstructor = () => {
if (!tableColumns) {
tableColumns = head(o.settings.filter(o => o.name === 'criteria_table_columns'));
}
const template = head(o.settings.filter(s => s.name === 'template'));
const step = head(o.settings.filter(o => o.name === 'step'));
const mime = head(o.settings.filter(o => o.name === 'mime'));
const formula = head(o.settings.filter(o => o.name === 'formula'));
@@ -1552,6 +1553,7 @@ const DomandaEditPreInstructor = () => {
sourceId={id}
useGrouping={false}
tableColumns={tableColumns ? tableColumns.value : {}}
template={template ? template.value : null}
/>
})}
</form>