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