Lines Matching refs:input
84 foreach ($report_array['inputs'] ?? [] as $n => $input) {
85 $input += [
94 'name' => 'vars[' . $input['name'] . ']',
95 'class' => $input['type'] === 'checkbox' ? 'form-control-check' : 'form-control',
98 switch ($input['lookup']) {
100 $input['control'] = view('components/select-individual', [
102 'name' => 'vars[' . $input['name'] . ']',
110 $input['control'] = view('components/select-family', [
112 'name' => 'vars[' . $input['name'] . ']',
120 $input['control'] = view('components/select-source', [
122 'name' => 'vars[' . $input['name'] . ']',
135 'value' => $input['default'],
139 $input['control'] = '<input ' . Html::attributes($attributes) . '>';
140 $input['extra'] = view('edit/input-addon-calendar', ['id' => 'input-' . $n]);
144 switch ($input['type']) {
148 'value' => $input['default'],
150 $input['control'] = '<input ' . Html::attributes($attributes) . '>';
156 'checked' => (bool) $input['default'],
158 $input['control'] = '<input ' . Html::attributes($attributes) . '>';
163 foreach (explode('|', $input['options']) as $option) {
175 …$input['control'] = view('components/select', ['name' => 'vars[' . $input['name'] . ']', 'id' => '…
180 $inputs[] = $input;