@@ -21,30 +21,34 @@ function CheckboxesFabric(props: {
2121 < >
2222 { props . checkboxes . map (
2323 ( checkbox , index ) => ( props . view === 'preview' || checkbox . label ) && (
24- < CheckboxFabric
25- key = { checkbox . id || index }
26- label = { checkbox . label }
27- description = { checkbox . description }
28- required = { checkbox . required }
29- disabled = { checkbox . disabled }
30- readOnly = { checkbox . readOnly }
31- error = { checkbox . error }
32- tabIndex = { checkbox . tabIndex || props . tabIndex }
33- tabSubmit = { index + 1 === props . checkboxes . length }
34- value = { checkbox . value }
35- ariaDescribedBy = { props . ariaDescribedBy }
36- onChange = { checkbox . onChange }
37- onAutoFocus = { ( index === 0 && props . onAutoFocus ) || undefined }
38- onFocus = { props . onFocus }
39- onBlur = { props . onBlur }
40- onSubmit = { props . onSubmit }
41- onCancel = { ( index === 0 && props . onCancel ) || undefined }
42- />
24+ < >
25+ < CheckboxFabric
26+ key = { checkbox . id || index }
27+ label = { checkbox . label }
28+ description = { checkbox . description }
29+ required = { checkbox . required }
30+ disabled = { checkbox . disabled }
31+ readOnly = { checkbox . readOnly }
32+ error = { checkbox . error }
33+ tabIndex = { checkbox . tabIndex || props . tabIndex }
34+ tabSubmit = { index + 1 === props . checkboxes . length }
35+ value = { checkbox . value }
36+ ariaDescribedBy = { props . ariaDescribedBy }
37+ onChange = { checkbox . onChange }
38+ onAutoFocus = { ( index === 0 && props . onAutoFocus ) || undefined }
39+ onFocus = { props . onFocus }
40+ onBlur = { props . onBlur }
41+ onSubmit = { props . onSubmit }
42+ onCancel = { ( index === 0 && props . onCancel ) || undefined }
43+ />
44+ < hr className = "my-2 border-none" />
45+ </ >
4346 ) ,
4447 ) }
4548 </ >
4649 ) ;
4750}
51+
4852/* eslint-enable */
4953
5054@tripetto ( {
@@ -58,6 +62,7 @@ export default class CheckboxesBlock extends Checkboxes implements IFormNodeBloc
5862 < >
5963 { props . name }
6064 { props . description }
65+ < hr className = "mt-3 border-none" />
6166 < CheckboxesFabric
6267 checkboxes = { this . checkboxes ( props ) }
6368 ariaDescribedBy = { props . ariaDescribedBy }
0 commit comments