afatmustafa
10/04/2021, 11:54 AMifox
10/04/2021, 11:54 AMblog. In your previous screenshot your navigation is trying to find realEstates.realEstates, not real.realEstatesafatmustafa
10/04/2021, 11:54 AMafatmustafa
10/04/2021, 11:54 AMleftblank
10/04/2021, 1:04 PMleftblank
10/04/2021, 1:06 PMtrue/false option to be true or false, of coursepboivin
10/04/2021, 1:22 PM@section('contentFields')
@formField('radios', [
'name' => 'type',
'label' => 'Article type',
'default' => 'long_form',
'inline' => true,
'options' => [
[
'value' => 'long_form',
'label' => 'Long form article'
],
[
'value' => 'video',
'label' => 'Video article'
]
]
])
@formConnectedFields([
'fieldName' => 'type',
'fieldValues' => 'video',
'renderForBlocks' => false
])
@formField('input', [
'name' => 'video_embed',
'label' => 'Video embed'
])
@endformConnectedFields
@stopleftblank
10/04/2021, 1:27 PMrenderForBlocks - i was setting it to true, thinking this would cause the field to appear if the condition was metleftblank
10/04/2021, 1:27 PMfalse, it workedleftblank
10/04/2021, 1:27 PMpboivin
10/04/2021, 1:28 PMrenderForBlocks is not really mentionned anywhere else in the docs. Could be improved 🙂leftblank
10/04/2021, 1:28 PMSofyan1999
10/04/2021, 2:30 PMpboivin
10/04/2021, 2:42 PM.env file:
TWILL_DEV_MODE=trueSofyan1999
10/04/2021, 2:57 PMpboivin
10/04/2021, 3:01 PM'dev_mode' => true is equivalent. Perhaps your config is cached? Try php artisan config:clearSofyan1999
10/04/2021, 3:10 PMifox
10/04/2021, 3:11 PMSofyan1999
10/04/2021, 3:26 PMSofyan1999
10/04/2021, 3:26 PMpboivin
10/04/2021, 3:41 PMexport SHELL=/usr/bin/bash && php artisan twill:devpboivin
10/04/2021, 3:45 PMuser
10/05/2021, 8:10 AMifox
10/05/2021, 8:11 AMuser
10/05/2021, 8:12 AMifox
10/05/2021, 8:13 AMuser
10/05/2021, 8:13 AMdelta107
10/05/2021, 8:26 AMdelta107
10/05/2021, 8:27 AMdelta107
10/05/2021, 8:27 AM