File tree 2 files changed +2
-2
lines changed
source/php/Module/views/fields
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 8
8
class =" form-group c-field checkbox-group {{ $field [' required' ] ? ' checkbox-group-required' : ' ' } }" >
9
9
10
10
@if ($field [' required' ] )
11
- <input class =" js-checkbox-valid u-display--none" aria-label =" For validating checkbox group" {{ $field [' required' ] ? ' js-required' : ' ' } } type =" checkbox" />
11
+ <input class =" js-checkbox-valid u-display--none" aria-label =" For validating checkbox group" {{ $field [' required' ] ? ' data- js-required' : ' ' } } type =" checkbox" />
12
12
@endif
13
13
14
14
<div class =" c-field__label" id =" label-{{ $module_id } } -{{ sanitize_title ($field [' label' ]) } }" >{{ $field [' label' ] } }{!! $field [' required' ] ? ' <span class="u-color__text--danger">*</span>' : ' ' ! !} </div >
Original file line number Diff line number Diff line change 13
13
' label' => $field [' label' ],
14
14
' accept' => $field [' filetypes' ] && is_array ($field [' filetypes' ]) ? $field [' attributeList' ][' accept' ] : ' ' ,
15
15
' filesMax' => $field [' type' ] === ' multiple' ? $field [' files_max' ] : 1 ,
16
- ' classList' => [$field [' required' ] ? ' js-required' : ' ' ],
16
+ ' classList' => [$field [' required' ] ? ' data- js-required' : ' ' ],
17
17
] )
18
18
@endfileinput
19
19
You can’t perform that action at this time.
0 commit comments