- added spreadsheet form element;
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user