@@ -4,7 +4,7 @@ import tree from "../../services/tree";
44import Button from "../react/Button" ;
55import FormCheckbox from "../react/FormCheckbox" ;
66import FormFileUpload from "../react/FormFileUpload" ;
7- import FormGroup from "../react/FormGroup" ;
7+ import FormGroup , { FormMultiGroup } from "../react/FormGroup" ;
88import Modal from "../react/Modal" ;
99import RawHtml from "../react/RawHtml" ;
1010import ReactBasicWidget from "../react/ReactBasicWidget" ;
@@ -55,11 +55,11 @@ function ImportDialogComponent() {
5555 footer = { < Button text = { t ( "import.import" ) } primary disabled = { ! files } /> }
5656 show = { shown }
5757 >
58- < FormGroup label = { t ( "import.chooseImportFile" ) } description = { < > { t ( "import.importDescription" ) } < strong > { noteTitle } </ strong > </ > } >
58+ < FormGroup name = "files" label = { t ( "import.chooseImportFile" ) } description = { < > { t ( "import.importDescription" ) } < strong > { noteTitle } </ strong > </ > } >
5959 < FormFileUpload multiple onChange = { setFiles } />
6060 </ FormGroup >
6161
62- < FormGroup label = { t ( "import.options" ) } >
62+ < FormMultiGroup label = { t ( "import.options" ) } >
6363 < FormCheckbox
6464 name = "safe-import" hint = { t ( "import.safeImportTooltip" ) } label = { t ( "import.safeImport" ) }
6565 currentValue = { safeImport } onChange = { setSafeImport }
@@ -84,7 +84,7 @@ function ImportDialogComponent() {
8484 name = "replace-underscores-with-spaces" label = { t ( "import.replaceUnderscoresWithSpaces" ) }
8585 currentValue = { replaceUnderscoresWithSpaces } onChange = { setReplaceUnderscoresWithSpaces }
8686 />
87- </ FormGroup >
87+ </ FormMultiGroup >
8888 </ Modal >
8989 ) ;
9090}
0 commit comments