update
parent
7fdbc14f77
commit
d864e63ed5
|
@ -695,7 +695,7 @@ if (!function_exists('formKriteria')) {
|
|||
$key = 'number_'.$keyKriteria.'_'.$keyOption;
|
||||
|
||||
$html .= '<div class="custom-control custom-checkbox m-2">';
|
||||
$html .= '<input type="checkbox" '.(@$value ? in_array($dataOption, @$value) ? 'checked' : '' : '').' class="custom-control-input is-required" id="'.$key.'" value="'.$dataOption.'" name="input_'.$data->key.'[]">';
|
||||
$html .= '<input type="checkbox" '.(@$value ? in_array($dataOption, (is_array(@$value) ? @$value : array(@$value))) ? 'checked' : '' : '').' class="custom-control-input is-required" id="'.$key.'" value="'.$dataOption.'" name="input_'.$data->key.'[]">';
|
||||
$html .= '<label class="custom-control-label" for="'.$key.'">'.$dataOption.'</label>';
|
||||
$html .= '</div>';
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue