src/Form/Field/Embeds.php 1 location
|
@@ 143-148 (lines=6) @@
|
| 140 |
|
)); |
| 141 |
|
$attributes = array_merge($attributes, call_user_func_array( |
| 142 |
|
'array_merge', |
| 143 |
|
array_map(function ($v) use ($field) { |
| 144 |
|
//Fix ResetInput Function! A Headache Implementation! |
| 145 |
|
$u = $field->label(); |
| 146 |
|
$u .= is_array($field->column()) ? '['.explode(':', explode('.', $v)[1])[0].']' : ''; |
| 147 |
|
|
| 148 |
|
return [$v => "{$u}"]; |
| 149 |
|
}, $newColumn) |
| 150 |
|
)); |
| 151 |
|
if ($field->validationMessages) { |
src/Form/Field/HasMany.php 1 location
|
@@ 176-181 (lines=6) @@
|
| 173 |
|
)); |
| 174 |
|
$attributes = array_merge($attributes, call_user_func_array( |
| 175 |
|
'array_merge', |
| 176 |
|
array_map(function ($v) use ($field) { |
| 177 |
|
//Fix ResetInput Function! A Headache Implementation! |
| 178 |
|
$u = $field->label(); |
| 179 |
|
$u .= is_array($field->column()) ? '['.explode(':', explode('.', $v)[1])[0].']' : ''; |
| 180 |
|
|
| 181 |
|
return [$v => "{$u}"]; |
| 182 |
|
}, $newColumn) |
| 183 |
|
)); |
| 184 |
|
if ($field->validationMessages) { |