Hi,
I would like to know if is possible to display these three different attributes:
On the same line, like this:
For the second case I’m using a repeater type, but I don’t want a repeater, because insert data inside array, I would like just to change layout.
I was thinking in maybe on ‘hivepress/v1/models/request/attributes’ hook I could make some change.
I was editing on this hook to add the repeater type:
$attributes['request_new_date'] = [
'editable' => true,
'edit_field' => [
'label' => 'Replicate Date',
'description' => 'If you want, you can replicate this request for another dates.',
'type' => 'repeater',
'_order' => 160,
'fields' => [
'request_new_date' => [
'placeholder' => 'Due Date',
'type' => 'date',
'format' => 'Y-m-d',
'required' => true,
'_order' => 0,
],
'request_new_date_start' => [
'placeholder' => 'GiG time',
'type' => 'time',
'format' => 'H:i:s',
'required' => true,
'_order' => 1,
],
'request_new_date_end' => [
'placeholder' => 'GiG end time',
'type' => 'time',
'format' => 'H:i:s',
'required' => true,
'_order' => 2,
],
],
],
];
Maybe some way to get the attribute and change the content, and add some fields inside the content.
Regards