composer update

This commit is contained in:
isUnknown 2025-09-23 08:15:07 +02:00
parent 0b3c362c5e
commit a1f0701630
142 changed files with 4530 additions and 1195 deletions

View file

@ -50,7 +50,7 @@ return [
return [];
}
return $this->form()->fields()->toArray();
return $this->form()->fields()->toProps();
},
'value' => function () {
$data = Data::decode($this->value, 'yaml');

View file

@ -19,6 +19,13 @@ return [
'icon' => null,
'placeholder' => null,
/**
* Whether to enable batch editing
*/
'batch' => function (bool $batch = false) {
return $batch;
},
/**
* Optional columns definition to only show selected fields in the structure table.
*/
@ -105,7 +112,7 @@ return [
return [];
}
return $this->form()->fields()->toArray();
return $this->form()->fields()->toProps();
},
'columns' => function () {
$columns = [];

View file

@ -63,12 +63,12 @@ return [
$users = [];
$kirby = App::instance();
foreach (Data::decode($value, 'yaml') as $email) {
if (is_array($email) === true) {
$email = $email['email'] ?? null;
foreach (Data::decode($value, 'yaml') as $id) {
if (is_array($id) === true) {
$id = $id['uuid'] ?? $id['id'] ?? $id['email'] ?? null;
}
if ($email !== null && ($user = $kirby->user($email))) {
if ($id !== null && ($user = $kirby->user($id))) {
$users[] = $this->userResponse($user);
}
}