user
06/03/2021, 8:25 AMuser
06/03/2021, 8:26 AMuser
06/03/2021, 8:26 AMifox
06/03/2021, 8:29 AMuser
06/03/2021, 8:36 AMifox
06/03/2021, 9:44 AMuser
06/03/2021, 9:50 AMuser
06/03/2021, 9:50 AMuser
06/03/2021, 9:51 AMuser
06/03/2021, 9:51 AMifox
06/03/2021, 9:59 AMchrispymm
06/03/2021, 10:44 AMifox
06/03/2021, 10:45 AMtwill.block_editor.crops
chrispymm
06/03/2021, 10:49 AMtwill.crops
key and working, also in the default twill config file in the repo they are under the top level crops keychrispymm
06/03/2021, 10:49 AMchrispymm
06/03/2021, 10:51 AMcrops
key under the block_editor
keychrispymm
06/03/2021, 10:57 AMcrops
key still...ifox
06/03/2021, 12:00 PMtwill.block_editor
not twill
, but I hear you that paragraph is confusingifox
06/03/2021, 12:01 PMifox
06/03/2021, 12:03 PMtwill.block_editor.crops
. what might have happened to you is that you had the same keys defined in the model's mediasParams
you were editing blocks on, which is a larger concern we're looking to fix (avoiding conflicts between those automatically instead of relying on developers to use unique keys)chrispymm
06/03/2021, 12:47 PMtwill.block_editor.crops
and my error was assuming my current config was copied from one of those projects 🤦♂️Sorry for wasting your time!ifox
06/03/2021, 12:48 PMbwaltz6
06/03/2021, 5:49 PMifox
06/03/2021, 5:56 PMbwaltz6
06/03/2021, 5:58 PMuser
06/03/2021, 10:09 PM<a17-fieldset title="Seances" id="seances" :open="true">
@formField('repeater', [
'type' => 'seance'
])
</a17-fieldset>
config.twill.php:
<?php
return [
'repeaters' => [
'seance' => [
'title' => 'Seance',
'trigger' => 'Add Seance',
'component' => 'a17-block-seance'
]
]
];
views/admin/repeaters/seance.blade.php:
@formField('date_picker', [
'name' => 'published_at',
'label' => 'Time'
])
@twillRepeaterTitle('Seance')
user
06/03/2021, 10:09 PMuser
06/03/2021, 10:10 PMpablobarrios
06/03/2021, 10:17 PM@twillRepeaterTrigger('Add Something')
in the seance
file.user
06/03/2021, 10:19 PM