- added setting for documents category selection for fileselect;

- added confirmation popup for fileselect and fileinput;
This commit is contained in:
Vitalii Kiiko
2025-03-12 12:45:08 +01:00
parent c9770eb91b
commit 8a62213bad
10 changed files with 77 additions and 15 deletions

View File

@@ -722,6 +722,7 @@ const BandoApplication = () => {
}
const step = head(o.settings.filter(o => o.name === 'step'));
const mime = head(o.settings.filter(o => o.name === 'mime'));
const documentCategories = head(o.settings.filter(o => o.name === 'documentCategories'));
const formula = head(o.settings.filter(o => o.name === 'formula'));
let mimeValue = '';
@@ -773,6 +774,7 @@ const BandoApplication = () => {
defaultValue={values[o.id] ? values[o.id] : ''}
maxFractionDigits={step ? step.value : 0}
accept={mimeValue}
documentCategories={documentCategories ? documentCategories.value : []}
config={validations}
options={options ? options.value : []}
setDataFn={setValue}